Techniques For Integrating Hibernate Into Legacy Java Code – Part 1

If you’re like me, you spend a lot of time dealing with legacy code that, for whatever reason, does not take advantage of modern methodologies and libraries. I’ve taken over Java projects that contain hundreds of thousands of lines of code and not a single third-party jar other than a JDBC driver! One of the most common examples of this is the implementation of the data access layer. These days, the de facto methodology involves Hibernate and DAOs, usually managed by Spring.

This article will detail the steps I recently took to covert a large application from custom-written data access to Hibernate and Spring using the refactoring facilities in Eclipse. The key with this refactorization is to get the existing business logic code (Struts Actions, JSPs, Delegate classes, Business Service classes, etc. ) to access the datastore using Hibernate, managed by Spring, without manually changing any of that code directly. Part 1 will include creating the Hibernate data object classes, DAOs, and refactoring the existing code to work with these newly created types. Part 2 will conclude the project with integration of the Hibernate DAOs and wiring everything up with Spring.

Read more

Integrating SAP Business Objects XI 3.1 BI Tools with SAP NetWeaver

Product Description This book is your implementation guide for BusinessObjects XI 3.1 Tools within SAP NetWeaver 7.0. After introducing you to the SAP BusinessObjects Enterprise platform and important SAP BusinessObjects BI client tools, you ll work through easy-to-use but still technically detailed information on how to set up these tools. In addition, you ll find … Read more