Object-relation mapping without the container

xiaoxiao2021-03-06  119

Develop a Transactional Persistence Layer Using Hibernate and Spring

Level: Intermediate

Richard Hightower

(RHIGHTOWER@arc-mind.com) Developer, ArcMind Inc.13 APR 2004

Just When You've Got Your Developer Tools All Sorted Out, A Fresh Crop is Sorted Out, A Fresh Crop Is Sorted Out, A Fresh Crop Is Sorted Out, A Fresh Crop Is Sorted Out, A Fresh Crop Is Sorted Out, A Fresh Crop Is Sorted Out, A Fresh Crop Is Sorted Out, A Fresh Crop is Article, Regular

developerWorks contributor Rick Hightower uses a real-world example to introduce you to two of the most exciting new technologies for the enterprise. Hibernate is an object-relation mapping tool and Spring is an AOP framework and IOC container. Follow along as Rick shows you how To Combine The Two To Build A Transactional Persistence Tier for your Enterprise Applications.

If you follow the latest developer buzz then you've likely heard of IOC (Inversion of Control) containers and AOP (aspect-oriented programming). Like many developers, however, you may not see where these technologies fit into your development efforts. In This Article, I'll Begin To Remedy That, With, Hands-on Introduction To Use Hibernate and Spring To Build a Transactional Persistence Tier for your Enterprise Applications.

Hibernate is a popular, easy-to-use, open source object-relation (OR) mapping framework for the Java platform. Spring is an AOP framework and IOC container. Together, these two technologies will provide the foundation of your development efforts in this article. You'll use Hibernate to map some persistent objects to a relational database and Spring to make Hibernate easier to use and provide declarative transaction support. As an added bonus, I'll throw in a little TDD (test-driven development), As dbunit WAS Used to Write The Test Code for the Example Classes.

Note that this article assumes that you are familiar with enterprise development on the Java platform, including JDBC, OR mapping issues, J2EE design patterns like DAO, and declarative transaction support such as that provided by Enterprise JavaBeans (EJB) technology. You are not expected to be an expert in any of these technologies in order to follow the discussion, nor do you need to be familiar with AOP, IOC, or TDD, as all three will be introduced in the article.I'll start with an introduction to the Two development technologies and damnet into the example.

Introducing HibernateHibernate is a full-featured, open source OR mapping framework for the Java platform. In many ways Hibernate is similar to EJB CMP CMR (container-managed-persistence / container-managed-relationships), and JDO (Java Data Objects). Unlike JDO, Hibernate focuses entirely on OR mapping for relational databases, and includes more features than most commercial products. Most EJB CMP CMR solutions use code generation to implement persistence code, while JDO uses bytecode decoration. Conversely, Hibernate uses reflection and runtime bytecode generation , Making It Nearly Transparent to End Users. (Earlier Implementations of Hibernate Used Reflection Only, Which Aids in Debugging, And Current Versions Retain this option.)

Porting Hibernate-based appsIf your application must run on many RDBMS systems, Hibernate-based applications port almost effortlessly from IBM DB2, MySQL, PostgreSQL, Sybase, Oracle, HypersonicSQL, and many more. I even recently worked on an application port from MySQL to firebird, which is not all that well supported by Hibernate, and the port was effortless See Resources for a case study of a switch between Postgres and MySQL.Hibernate allows you to model inheritance (several ways);. association (one-to- One or one-to-man, containment, and aggation; and composition. I'll Cover SEVERAL EXAMPLES OF Each Type of Relationship In this article.

. Hibernate provides a query language called Hibernate Query Language (HQL), which is similar to JDO's JDOQL and EJB's EJB QL; although it is closer to the former But Hibernate does not stop there: it also allows you to perform direct SQL queries and / or use object criteria to compose criteria Easily at runtime. I'll Use Only HQL in The Examples for this Article.

Unlike EJB CMP CMR AND Like JDO, Hibernate Can Work Inside of or Outside of a J2EE Container, Which is a boon for those of us doing tdd and agile development.

Introducing SpringThe first time AOP expert Nicholas Lesiecki explained AOP to me, I did not understand a word he was saying; and I felt much the same the first time I considered the possibility of using IOC containers The conceptual basis of each technology alone is. a lot to digest, and the myriad of new acronyms applied to each one doesn't help - Particularly Given That Many of Them Are Variations on Stuff We Already Use.

Like many technologies, these two are much easier to understand in practice than in theory. Having done my own research on AOP and IOC container implementations (namely, XWork, PicoContainer, and Spring), I've found that these technologies help me gain functionality without adding code-based dependencies on multiple frameworks. They'll both be a part of my development projects going forward.In a nutshell, AOP allows developers to create non-behavioral concerns, called crosscutting concerns, and insert them in their application code. WITH AOP, Common Services, And The Like Can Be FactOth Of The Domain Object Model of The Domain Objects.

About DbUnitDeveloping with a new framework without unit testing is like walking on a new trapeze wire without a net:. Sure you could do it, but you're going to bleed I prefer to develop with a net, and for me that net is TDD . Before DbUnit came along, testing code that was dependent on a database could be a little tough. DbUnit is an extension of JUnit that provides a framework for unit tests dependent on a database. I used DbUnit to write the test code for the example classes in this article. While not present in the article, the DbUnit code is part of the article source code (see Resources). Or for an introduction to DbUnit, see "Control your test-environment with DbUnit and Anthill" (developerWorks, April 2004 .) by philippe girolami.

IOC allows me to create an application context where I can construct objects, and then pass to those objects their collaborating objects. As the word inversion implies, IOC is like JNDI turned inside out. Instead of using a tangle of abstract factories, service locators, singletons, and straight construction, each object is constructed with its collaborating objects. Thus, the container manages the collaborators.Spring is both an AOP framework and an IOC container. I believe it was Grady Booch who said the great thing about objects is that they can be replaced; and the great thing about Spring is that it helps you replace them with Spring, you simply inject dependencies (collaborating objects) using JavaBeans properties and configuration files Then it's easy enough to switch out collaborating objects with a similar interface when.. You need to.

Spring provides an excellent on-ramp to both IOC containers and AOP. As such, you do not need to be familiar with AOP in order to follow the examples in this article. All you need to know is that you'll be using AOP To Declarative Add Transactions, Much The Same Way That You Would Use EJB Technology. See Resources To Learn More About IoC Containers, AOP, and Spring.

Down to businessFor the remainder of the article, all of the discussion will be based on a working example. The starting point is an enterprise application for which you are implementing a transactional persistence layer. Your persistence layer, an object-relational database, includes familiar Abstractions Like User, User Group, Roles, And ContactInfo.

Before I can delve into the essentials of the database - queries and transaction management - I need to lay its foundation:. Object-relation mapping I'll set this up using Hibernate, and just a touch of Spring.OR mapping with HibernateHibernate uses XML (* .hbm.xml) files to map Java classes to tables and JavaBeans properties to database tables. fortunately, a set of XDoclet tags support Hibernate development, which makes it easier to create the * .hbm.xml files you need. The Code in Listing 1 Maps a Java Class to a Database Table. See Resources To Learn More About Xdoclet Tags.

Listing 1. Mapping a Java Class to a db table

[User.java]

/ **

* @ hibernate.class table = "tbl_user"

* ..

* ..

* ...

* /

PUBLIC CLASS User {

PRIVATE long ID = new long (-1);

PRIVATE STRING EMAIL;

PRIVATE STRING Password;

.

.

.

/ **

* @Return

* @ hibernate.id column = "pk_user_id"

* unsaved-value = "- 1"

* generator-class = "native"

* /

Public long getId () {

Return ID;

}

...

/ **

* @ hibernate.property column = "vc_email"

* Type = "string"

* Update = "false"

* INSERT = "TRUE"

* unique = "true"

* not-null = "true"

* Length = "82"

* @Return

* /

Public string getemail () {

Return email;

}

/ **

* @ hibernate.property column = "vc_password"

* Type = "string"

* Update = "false"

* INSERT = "TRUE"

* unique = "true"

* not-null = "true"

* Length = "20"

* @Return

* /

Public string getpassword () {

Return Password;

}

...

...

...

}

As you can see, the @ hibernate.class table = "TBL_USER" tag maps User to the TBL_USER table. The @ hibernate.property column = "VC_PASSWORD" maps the password JavaBeans property to the VC_PASSWORD column. The @ hibernate.id column = "PK_USER_ID" tag states that the id property is the primary key, and it will uses the native (generator-class = "native") database mechanism for generating keys (for example, Oracle sequences and SQL Server Identity keys). Hibernate allows you to specify every conceivable strategy for getting primary keys other than generator-class = "native", although I prefer to go native. The type and length attributes are for generating tables from the Hibernate * .hbm.xml OR mapping files. These final attributes are optional, since you might not be using a green-field database In the case of this example, the database already existed;. so you do not need the extra attributes (A green-field application is a new application and a green. -field Database IS A New Database for a New Appli . Cation It is not often that you get to work on a fresh application;? Although it's nice once in a while, is not it) Now that you've seen how tables are mapped to classes and columns to JavaBeans properties, you 'll Use hibernate to set up Some Relationships in Your OR Database.

Setting up object relationsIn this section I'll just scratch the surface of the options Hibernate provides for setting up relationships between objects. Let's start by setting up relationships between classes such as User, User Group, Roles, and ContactInfo. Some of these relationships are Shown in Figure 1, An Authentication Object Model for your database.

Figure 1. Graphical representation of relationshipsAs you can see, a full gamut of relationships exists between the above abstractions. User has a one-to-one relationship with ContactInfo. The lifecycle of ContactInfo is the same as the User (composition in UML aka cascade delete in database speak). If the User were deleted so would be the corresponding ContactInfo. A many-to-many relationship exists between Users and Roles (that is, association with independent lifecycles). A a one-to-many relationship exists between . Groups and Users, since a group has many users Users can exists outside of a group; that is, aggregation not composition (in database speak no cascade delete relationship exists between Groups and Users) in addition, User and Employee have a subclass relationship. ................. ..

Table 1. CREANG OBJECT RELATIONS Using XDoclets

RelationshipJava / XDocletSQL DDL (MySQL generated by Hibernate Schema Export) Group contains User One-to-many Aggregation Bidirectional (Group <-> Users) [Group.java] / *** * @ return * * @ hibernate.bag name = "users" * cascade = "save-update" * lazy = "true" * inverse = "true" * * @ hibernate.collection-key * column = "fk_group_id" * @ hibernate.collection-one-to-many * Class = "net.sf.hibernateexamples.user" * / public list getusers () {return users;} [user.java] / *** @ hibernate.many-to-one * column = "fk_group_id" * class = " net.sf.hibernateExamples.Group "* / public Group getGroup () {return group;} create table tBL_USER (PK_USER_ID BIGINT NOT nULL AUTO_INCREMENT, USER_TYPE VARCHAR (255) not null, FK_GROUP_ID BIGINT, VC_EMAIL VARCHAR (82) not null unique, primary key (PK_USER_ID)) create table TBL_GROUP (PK_GROUP_ID BIGINT NOT NULL AUTO_INCREMENT, VC_DESCRIPTION VARCHAR (255), vC_NAME VARCHAR (40) unique, primary key (PK_GROUP_ID)) alter table tBL_USER add index (FK_GROUP_ID), add constraint FK_111 foreign key ( FK_GROUP_ID) REFERENC ES TBL_GROUP (PK_GROUP_ID) User Has Contact Info One-to-One Composition Unidirectional (user -> contactinfo) [user.java] / *** @ Return * * @ hibernate.one-to-one cascade = "all" * * / public contactinfo getcontactinfo () {Return ContactInfo;

} [ContactInfo.java] (Nothing to see here. Unidirectional!) Create table TBL_USER (PK_USER_ID BIGINT NOT NULL AUTO_INCREMENT, USER_TYPE VARCHAR (255) not null, FK_GROUP_ID BIGINT, VC_EMAIL VARCHAR (82) not null unique, primary key (PK_USER_ID) ) create table TBL_CONTACT_INFO (PK_CONTACT_INFO_ID BIGINT not null, ......... primary key (PK_CONTACT_INFO_ID)) User associated with roles Many-to-many Association Unidirectional (Users -> Roles) [User.java] / * ** @ return * @ hibernate.bag * table = "TBL_JOIN_USER_ROLE" * cascade = "all" * inverse = "true" * * @ hibernate.collection-key * column = "FK_USER_ID" * * @ hibernate.collection-many- TO-MANY * Class = "Net.sf.hibernateExamples.Role" * column = "fk_role_id" * / public list getroles () {Return Roles;} [role.java] Nothing to See Here. Unidirectional! Create Table TBL_Role ( PK_ROLE_ID BIGINT NOT nULL AUTO_INCREMENT, VC_DESCRIPTION VARCHAR (200), vC_NAME VARCHAR (20), primary key (PK_ROLE_ID)) create table tBL_USER (PK_USER_ID BIGINT NOT nULL AUTO_INCREMENT, USER_TYPE VARCHAR (255) not null, FK_GROUP_ID BIGINT, VC_EMAIL VARCHAR (82) not null unique, primary key (PK_USER_ID)) create table TBL_JOIN_USER_ROLE (FK_USER_ID BIGINT not null, FK_ROLE_ID BIGINT not null) Employee is a User Inheritance UserEmployee [User.java] / *** @hibernate. Class Table = "TBL_USER" * Discriminator-value = "2" * @ hibernate.discriminator color column = "user_type" * ......... * / public class user {[Employee.java] / *** @ Hibernate.subclass discrtor-value = "1"

* / Public class Employee extends User {create table TBL_USER (PK_USER_ID BIGINT NOT NULL AUTO_INCREMENT, USER_TYPE VARCHAR (255) not null, FK_GROUP_ID BIGINT, VC_EMAIL VARCHAR (82) not null unique, primary key (PK_USER_ID)) See Resources to learn more about Setting Up Object Relationships in Hibernate.

Queries in HibernateHibernate Has Three Types of queries:

Criteria, Object Composition SQL HQL

You'll work entirely with HQL in the examples that follow. You'll also begin working with Spring in this section, using its AOP-driven HibernateTemplate to simplify working with Hibernate sessions. In this section you will develop a DAO (Data Access Object . '

LOSTINDS: A Group Lookup Using An HQL Query and a Group Lookup Followed by An Action. Note How The Spring HibernateTemplate Simplifies Session Management In The Second Method.

Listing 2. using queries

Import net.sf.hibernate.hibernateException;

Import net.sf.hibernate.Session;

Import net.sf.hibernate.query;

Import org.springframework.orm.hibernate.HibernateCallback;

Import org.springframework.orm.hibernate.support.hibernatedaosupport;

/ **

* @Author Richard Hightower

* ArcMind Inc. http://www.arc-mind.com

* /

Public Class Userdao Extends Hibernatedaosupport {

.

.

.

/ **

* DEMONSTRATES LOOKING UP a group with a HQL Query

* @Param Email

* @Return

* /

Public Group FindgroupByName (String Name) {

Return (group) gethibernateTemplate (). Find ("from group g where g.name =?", name) .get (0);

}

/ **

* DEMONSTRATES LOOKING UP a group and forcing it to populate users (Relationship Was Lazy)

* @Param Email

* @Return

* /

Public Group FindpopulatedGroupByName (Final String Name) {HibernateCallback Callback = new hibernateCallback () {

Public Object Doinhibernate (session session) throws HibernateException, SQLEXCEPTION {

Group group = NULL;

String query = "from group g where g.name =?";

Query QueryObject = gethibernateTemplate (). CREATEQUERY (SESSION, QUERY);

QueryObject.SetParameter (0, name);

Group = (group) queryObject.list (). get (0);

Group.getusers (). Size (); // force loading

Return group;

}

}

Return (Group) gethiBernateTemplate (). EXECUTE (Callback);

}

.

.

.

}

You likely noticed that the second method is quite a bit more involved than the first, because it forces the users collection to load. Because the relationship between Group-> Users was set to lazy initialize (that is, lazy = "true" in Table 2), the group object required an active session to lookup the users. The second method would not have been required had you the attribute to lazy = "false" when you were defining the relationship between Group and Users. In this case set, You would probably has used the first method (findgroupbyname) to do a listing of groups, and the second method (findpopulatedgroupbyname) to view the group details.

Spring IOC and HibernateWhen you use Spring it is just as easy to work inside or outside of a J2EE container. On a recent project, for example, I ran my persistence unit tests inside of Eclipse using HSQL and local datasources against a Hypersonic SQL database using hibernate Transaction manager. Then, when I deployed to my J2EE server I switched my persistence layer to use the J2EE datasources (through JNDI), and the JTA transactions, and to use FireBird (an open source version of Interbase). This was accomplished using Spring as the IOC container.As you'll see in Listing 3, Spring allows dependency injection. Note how the application context file in the listing allows me to configure a dataSource. The dataSource is passed to a sessionFactory, and the sessionFactory is passed to Your Userdao.

Listing 3. Spring oc and hibernate

You Could Easily Use J2ee Data Source Instead IF THIS WERE

Running Inside of a J2EE Container.

->

com.mysql.jdbc.driver

JDBC: MySQL: // localhost: 3306 / mysql

root

Net / sf / hibernateExamples / user.hbm.xml

Net / sf / hibernateExamples / group.hbm.xml

Net / sf / hibernateExamples / role.hbm.xml

Net / sf / hibernateExamples / ContactInfo.hbm.xml

MS SQL ETC. ->

net.sf.hibernate.dialect.mysqldiaforct

With your UserDAO set up, your next step is to define and use some more queries to show what is possible. Hibernate allows you to store queries outside of the source code using named queries, as shown in Listing 4.

Listing 4. named queries

[User.java]

/ **

* @Author Richard Hightower

* ArcMind Inc. http://www.arc-mind.com

* @ hibernate.class table = "TBL_USER" discriminator-value = "2"

* @ hibernate.discriminator column = "user_type"

*

* @ hibernate.query name = "allusers" query = "from user user order by user.email asc" *

* @ hibernate.query name = "overheadstaff"

* query = "from Employee Employee Join Employee.group g Where g.Name Not in ('Engineering', 'IT')"

*

* @ hibernate.query name = "criticalstaff"

* query = "from Employee Employee Join Employee.Group g where g.Name in ('engineering', 'it')"

*

* @ hibernate.query name = "getusersinaGroup"

* query = "SELECT User from Group G Join G.USERS USER"

*

* @ hibernate.query name = "getusersNotinaGroup"

* Query = "SELECT User from user user where user.group is null"

*

* @ hibernate.query name = "UsersBysalarygreatertrthan"

* query = "from user user inner join user.contactinfo info where info.salary>? 1"

*

* @ hibernate.query name = "UsersBysalarybetween"

* query = "from user user join user.contactinfo info where info.salary betWeen? 1 and? 2"

*

* @ hibernate.query name = "Usersbylastnamelike"

* query = "from user user join user.contactinfo info where info.lastname like? 1"

*

* @ hibernate.query name = "getemailsofusers"

* query = "SELECT USER.EMAIL FROM Group G JOIN G.USERS AS USER Where G.NAME =? 1"

*

* /

PUBLIC CLASS User {

.

.

.

The Above Code Defines Several Named Queries. Named Queries Are Queries That Are Stored In The * .hbm.xml File. In Listing 5, You Can See How To Execute A named query.

Listing 5. using named queries

[UserDao.java]

/ **

* DemonStrates a query That Returns a string.

* /

Public String [] getuseremails "{list emailist =

GethibernateTemplate (). FindbyNamedQuery ("getemailsofusers");

Return (String [])

Emaillist.toArray (New String ");

}

/ **

* DemonStrates a Query That Returns a list of users

*

* @Return a list of emails of all of the users in the authentication system.

*

* /

Public List getUsers () {

Return gethibernateTemplate (). FindbyNamedQuery ("allusers");

}

/ **

* Demonstrates passing a single argument to a query.

*

* @Return a list of uservalue objects.

*

* /

Public List GetUsersBysalary (FLOAT SALY) {

Return gethibernateTemplate ()

.findbynamedquery ("UsersBysalaryGreatertrthan",

New float (salary);

}

/ **

* DemonStrates passing multiple arguments to a query

*

* @Return a list of uservalue objects.

*

* /

Public List GetUsersBysalaryRange (Float Start, Float Stop) {

Return gethibernateTemplate ()

.findbynamedquery ("UsersBysalarybetween",

New Object [] {new float (start), new float (stop)});

}

WITH Queries Underway, you can add the final layer to your persistence tier: Transaction Management Using Spring.

Managing transactions with SpringSpring allows you to manage transactions declaratively. For example the UserDAO.addUser method does not currently execute in a single transaction. Thus, every User in a group would be inserted in its own transaction, as shown in Listing 6.

Listing 6. Add a group of users

[UserDao.java]

/ **

* @Param Group

* /

Public void addgroup (grou group) {

GethibernateTemplate (). save (group);

}

[Userdaotest.java]

Public void testaddgroupofusers () {

Group group = new group ();

For (int index = 0; Index <10; index ) {

User = new user (); user.setemail ("rick" index "@ foobar.com");

User.SetPassword ("foobar");

Group.adduser (user);

}

Group.setname ("TestGroup");

Userdao.addgroup (group);

ask.GETID ());

Group group2 = userdao.findpopulatedgroupbyname ("testgroup");

Assertequals ("testgroup", group2.getname ());

Assertequals (10, group2.getusers (). size ());

String email = ((user) group2.getusers (). Get (0)). Getemail ();

Assertequals ("rick0@foobar.com", email);

}

The above solution is not desirable because each User would be inserted into the database in its own transaction. If there were a problem, only a subset of the users could be added. If you wanted to preserve ACID properties (that is, make sure it all happens or nothing happens), you could do transaction management programmatically;. but it gets ugly pretty quick Instead, you'll use Spring's AOP support for declarative transactions, as shown in Listing 7.

Listing 7. Managing Transactions Declaratively

[ApplicationContext.xml]

Class = "org.springframework.orm.hibernate.hibernateTransactionManager">

Class = "org.springframework.transaction.interceptorybean>

PropAgation_required

Notice that in preparation for the code in Listing 7 I refactored UserDAO and extracted its interface. The interface is now UserDAO and its implementation class is UserDAOImpl. The transaction code in Listing 7 then uses the UserDAO.addGroup () method with a transaction attribute of .

ConclusionIn this article you've learned how to implement a transactional persistence layer using Hibernate and Spring. Hibernate is a leading OR mapping tool and Spring is an AOP framework and IOC container. Together, the two technologies allow developers to write code that is database- vendor agnostic, and that can run inside of a J2EE container or run standalone. While not central to the discussion, DbUnit (an extension to JUnit) was used to build and test all of the code for the examples in this article.

See Resources to Learn More About AOP, IOC Containers, and Test-Driven Development.

Resources

Download the source code zipfile for this article. Hibernate's creator Gavin King set the bar high when it came to developing the documentation (as well as the framework!) For Hibernate. See the Hibernate User Guide, on the Hibernate home page, to learn more about this exciting OR mapping tool for the Java platform. You can learn more about Spring directly from its inventor, with Rod Johnson's "Introducing the Spring framework" (ServerSide.com, October 2003). Matt Raible's AppFuse handily demonstrates using Hibernate and Spring on . several databases on several J2EE application servers Juergen Hoeller set down the law about Hibernate, AOP, Spring, and transaction management with his tutorial,.? "Hibernate - Data Access with a Spring Framework" (July 2003) Still hungry for Spring Visit The Spring Home Page. The dbunit home page is your first source for Learning More About this Handy Extension to junit. for an introduction to dbunit, See "Control Your test-environment with dbunit and Ant hill "(developerWorks, April 2004) by Philippe Girolami. Of course, Andrew Glover's" Effective unit testing with DbUnit "(OnJava.com, January 2004) is another great source. Learn more about the conceptual background of DbUnit and its predecessor, JUnit , with Malcolm Davis's "Incremental development with Ant and JUnit" (developerWorks, November 2000). When it comes to AOP, Nicholas Lesiecki's the one who started it all (at least for me). Read his "Improve modularity with aspect-oriented programming "(DeveloperWorks, January 2002) To Learn More About this Powerful Complement to Object-Oriented Programming. in" AOP Banishes the Tight-Coupling Blues "

(DeveloperWorks, February 2004), Andrew Glover is back; this time showing you how to use static crosscutting to decouple your enterprise applications Sean Sullivan's "Advanced DAO programming" (developerWorks, October 2003) provides a short introduction to the DAO pattern and then. cuts directly to some of its more powerful uses in J2EE programming. For those just getting started with CMP CMR, Richard Hightower wrote a complete tutorial series on the subject, starting with "Introduction to container-managed persistence and relationships" (developerWorks, March 2003 ). For a short tutorial on XDoclets, see "Enhance J2EE component reuse with XDoclet" (developerWorks, May 2003) also by Richard Hightower. Of course, you might also want to check out the Hibernate XDoclet tags on SourceForge. you'll find Articles About Every Aspect of Java Programming In The DeveloperWorks Java Technology Zone. Visit The Developer Bookstore for a Comprehensive Listing of Technical Books, Including Hundreds of Java-Related Titles. Also See The Java Technology Zone Tutorials Page for a Complete Listing Of Free Java-Focused Tutorials from DeveloperWorks.download

Name

Size

Download Method

J-Hibernnojars.zip

FTP

Information About Download Methods

About the authorRick works at Arc-Mind Inc., where he focuses on Struts and J2EE mentoring and consulting. Rick is a software developer at heart with 14 years software development experience (seven of them on the Java platform). Rick has contributed to several Java Technology Books and Written Articles for the Java Developer's Journal and IBM DeveloperWorks. Rick Recently Completed A Book on Struts At Sourcebeat.

Ezerg Programming

转载请注明原文地址:https://www.9cbs.com/read-102567.html

New Post(0)