Eclipe use EJB 3.2 will be deployed in Glafih
Eclipse EJB 3.2 will be used to deploy in the Glassfish
Previously wrote an article on the use of the Eclipse 3.2 Glassfish article: installation and use of Glassfish, mainly how to write in the Eclipse WTP 3.2 in the creation of a Glassfish Server, configuration, start and stop. In the Eclipse WTP, we should deploy to a Web Application Glassfish is very easy. Long time no concern because the EJB, and is doing all projects, but do not use EJB using Spring + iBatis, so never use to try Eclipse + Glassfish EJB how to play, despite the Glassfish has support for the latest EJB 3.0 specification the.
Today, in an article on the Internet will use Eclipse EJB deployed to the tutorial Glassfish, the article written quite simple, if you have the EJB development experience, not to actually Eclipse in the experiments can also read this short tutorial. The article also briefly introduced the open-source Derby database, as well as the Eclipse WTP incidental that the Data Explorer too simple tools.
For a long time did not go to the updated knowledge on EJB, simply that EJB 3.0 norms in the production process, to learn the experience of the EJB 2.x, in a bid to make EJB programming easier and simple, but also draw in the Spring IoC 5, and to use the Java some of the new features (such as annotation). Read this simple tutorial, the first impression is that EJB indeed has become simple, first of all, do not see Home Interface (because the tutorial is too simple, do not know how to lookup of this stateless session bean); Second, the bean and the remote interface itself, the use of annotation to configure bean.
Now have easy-to-use and iBatis Spring Framework, Hibernate framework of this lightweight, it is also necessary EJB?
Posted on 2007-01-04 18:56 kukooBlog reading (607) Comments (0) edit their collections quoted Category: Eclipse, Java
Tags: EJB






