Arrays.deepToString(collection.toArray());
Encoutered couple of issues.
- Turn swap off before starting installation to install with full disk encryption.
sudo swapoff --all
- Download essentials before installing VirtualBox Additions.
sudo apt-get update sudo apt-get install build-essential linux-headers-"$(uname -r)" # sudo apt-get install virtualbox-guest-*
I find it unintuitive that two seemingly similar functions subFlowMapping and channelMapping are very different. The difference is not mentioned in the Javadoc. Difference is described in release announcement.
The channelMapping() continues to work as in regular Router mapping, but the subFlowMapping() tied that subflow with main flow. In other words, any router’s subflow returns to the main flow after .route().
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I cannot extract objects from lambda expressions. I cannot say that Eclipse has full support of Java 8. | |
EXAMPLE | |
x -> x.toString() | |
cannot be extracted to | |
Function<Object, String> ToStringFuction ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DSL configuration has all relevant information colocated on one place in the code. | |
XML configuration has information scattered. Part is in the XML and part in the code. | |
DSL CONFIGURATION EXAMPLE | |
.<OrderItem, Boolean>route(OrderItem::isIced, mapping -> mapping // 16 | |
.subFlowMapping("true", routeIced())// 24 | |
.subFlowMapping("false", routeNotIced())) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Spring compared to JEE is much more complex and configurable. Spring also has kind of organic-growth feel. This is why I currently still prefer JEE. | |
http://www.mkyong.com/tutorials/spring-tutorials/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Spring Singleton corresponds to either | |
- JEE stateless session bean | |
- or if it has internal state to JEE singleton | |
Spring Prototype corresponds to JEE stateful session bean. | |
Spring Scopes Session and Request correspond to CDI Scoped beans. However CDI does not support transactions in contrast to Spring Beans or JEE beans. |