Custom schema generation with Hibernate annotations
Combine Hibernate annotations and a smart naming strategy to generate database schemas automatically -- and still keep your
DBA happy.
John Ferguson Smart,
August 2008
Four harmful Java idioms, and how to fix them
John O'Hanley reveals the fault lines of four widespread Java idioms, then tickles our brains with new ideas about optimizing
Java code for maintainability.
John O'Hanley,
July 2008
Introduction to Hibernate Search
Get started with Hibernate Search and its universal API, which bring the power of Lucene full-text searching to the Hibernate
ORM framework.
Dr. Xinyu Liu,
July 2008
Web development with Wicket, Part 2: Reducing and re-using code
Want to build numerous similar Web components without cutting and pasting code? Wicket could be the Web application framework
for you.
Nathan Hamblen,
July 2008
iBATIS, Hibernate, and JPA: Which is right for you?
Don't let the old object-relational impedance mismatch get the best of you or your data. Compare ORM tools Hibernate and iBATIS
and the Java Persistence API itself, and find out how each one makes it easier to access your RDBMS using Java code.
K. L. Nitin, Ananya S., Mahalakshmi K., and S. Sangeetha,
July 2008
Creating DSLs in Java, Part 2: Fluency and context
Take your next step toward building fluent, context-aware DSLs, starting with examples based on real-world APIs from EasyMock
and Guice. Then try a hands-on exercise in building a fluent, context-aware DSL using Groovy.
Venkat Subramaniam,
July 2008
Save the JMS for last
Don't spend time configuring JMS when you need to be coding business logic. A decoupled application architecture lets you
switch from synchronous to asynchronous processing at runtime.
Di Wang,
July 2008
Build the enterprise with EJB 3, JBoss Seam, and Maven 2
Sure, it's possible to use Ant for enterprise builds, but here's the thing: You'll coax so much more mileage out of your EJB
3 and Seam-based projects by building them with Maven 2.
Michael Nyika,
June 2008
Party of one: Surviving the solo open source project
Kirill Grouchnikov explores the challenges and pitfalls of starting and maintaining an open source software project, especially
for the developer who codes alone. (An excerpt from Kirill's blog, Pushing Pixels.)
Kirill Grouchnikov,
June 2008
Understanding the closures debate
Does Java need closures? The question might seem best left to Java theorists, but the final decision could redefine the way
you work in Java code. Learn what you need to know about the three proposals for closures in Java 7 and how they differ.
Klaus Kreft and Angelika Langer,
June 2008
Open source Java projects: SwingLabs PDF Renderer
PDF files are ubiquitous for sharing documents over the Internet, but how do you view and render them in your Java applications?
Find out what the SwingLabs PDF Renderer can do for you, in this installment of the 'Open source Java projects' series.
Jeff Friesen,
June 2008
Web development with Wicket, Part 1: The state of Wicket
Don't let state become a performance bottleneck in your Java Web applications. Wicket accommodates both stateless and stateful
development models, so you can just go with the flow.
Nathan Hamblen,
June 2008
Hello, OSGi, Part 3: Take it to the server side
Develop and deploy your first OSGi Web application using your Eclipse IDE, Server-Side Equinox, Jetty, and Tomcat. This article
concludes the 'Hello, OSGi' series by introducing OSGi on the server side.
Sunil Patil,
June 2008
Creating DSLs in Java, Part 1: What is a domain-specific language?
Some say general-purpose languages such as Java are on their way out, soon to be replaced by DSLs for every occasion. Get
ready for the shift in this first installment of Venkat Subramaniam's four-part introduction to domain-specific languages.
Venkat Subramaniam,
June 2008
Spring into Seam, Part 3: Persistence for two
Who says Web application frameworks can't learn to share? Find out how Spring and Seam can collaborate on persistence tasks
in complex,
database-oriented applications. (Excerpted from Seam in Action, forthcoming from Manning Publications.)
Dan Allen,
May 2008
Recent top five:
Let's talk about exceptions ...
How do you handle exceptions? Do you think upfront about the type of exceptions that you want to catch or do you just let
the outside world handle it?
-- Jeroen van Bergen in JW Blogs