Because of the issues related to multiple mappings of Java objects to tables
and vice versa, it is best to use SQLJ with Java application servers when the
data being mapped is quite simple. For example, SQLJ would be an excellent way
to look up simple account information based on an account number. There would be
little mapping of data needed in this case.
If your data mapping may be complex, however, you should look at either JDO
or EJB accelerators:
There is one exception to this recommendation; if you do not have an
existing database and plan on entering new data directly from an application
server, see how SQLJ can be one of the options for EJB
accelerators (new window).
Professional Java Server Programming J2EE Edition by Subrahmanyam Allamaraju, Andrew Longshaw, Daniel O'Connor, Gordon Van Huizen, Jason Diamond, John Griffin, Mac Holden, Marcus Daley, Mark Wilcox, Richard Browett Average Customer Review: based on 30 reviews. Customer Review: This book is one the most comprehensive ones that I've bought. It provides you with most of the possible technologies that you could use in a basic J2EE application. I love the section on the J2EE architecture. For newbies I typcially request that they read that section first. It does justice to basic topics like JDBC & Servlets & t...
Professional Java Data: RDBMS, JDBC, SQLJ, OODBMS, JNDI, LDAP, Servlets, JSP, WAP, XML, EJBs, CMP2.0, JDO, Transactions, Performance, Scalability, Object and Data Modeling by Thomas Bishop, Glenn E. Mitchell, John Bell, Bjarki Holm, Danny Ayers, Carl Calvert Bettis, Sean Rhody, Tony Loton, Michael Bogovich, Mark Wilcox, Lin Kelly Poon, Nitin Nanda, Rick Grehan, Matthew Ferris, Kelly Lin Poon Average Customer Review: based on 2 reviews. Customer Review: For the past 2 years Wrox has been publishing books dedicated to Windows-based data access (ADO etc.), but the same cannot be said about their Java/database collection. Although you find chapters on JDBC scattered all-over almost all server-side Java related books by Wrox, there was no single volume from them that teaches JDBC first,...