Java Reference
In-Depth Information
tions in another way than direct inheritance, aggregation, or AOP. Overused, it can make
your code heavy, drive pre-Java 8 developers crazy, and lead to chaos.
[ 32 ] If you ever have to do this kind of thing where the data is stored in a relational database using the
Java Persistence API (see Easy Database Access with JPA and/or Hibernate ) , you should check out
Apache DeltaSpike Data , which allows you to define an interface with method names like findCamer-
aByInterchangeableTrueAndPriceLessThan(double price) and have DeltaSpike Data implement
these methods for you . There are also template projects for CDI+DeltaSpike on GitHub: Java SE and
Java Web .
[ 33 ] If you're just not that into cameras, the description “Interchangeable Lens Camera (ILC)” includes
two categories of what you might find in a camera store in 2014: traditional DSLR (digital single lens
reflex) cameras, and the newer category of “Compact System Cameras” like the Nikon 1, Sony ILCE
(formerly known as NEX), and the Canon EOS-M, all of which are smaller and lighter than the older
DSLRs.
 
 
Search WWH ::




Custom Search