File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB3.0 without app server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB3.0 without app server" Watch "EJB3.0 without app server" New topic
Author

EJB3.0 without app server

Elihu Smails
Ranch Hand

Joined: Jan 12, 2005
Posts: 37
I want to develop an application that is a stand-alone system with a back end database. Can I still use EJB3.0 since I don't need something like JBoss or Sun AppServer?

Thanks
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30050
    
149

Elihu,
No. By definition, EJB is a part of J2EE. J2EE is a standard for applications that run on an app server. It provides services like security.

If you are writing a stand alone application, EJB 3.0 wouldn't work. What in EJB 3.0 are you trying to leverage. Comparable projects are out there for most if not all of the things EJB 3.0 provides. For example, you could use Spring or Hibernate for the database access.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Raghu Kodali
author
Greenhorn

Joined: Oct 05, 2006
Posts: 18
Elihu,
If you are just going to use the persistence part (Java Persistence API - JPA )of the EJB 3.0 specification, then you will be able tor run the JPA entities outside container as well.

The application can be run in a Java SE environment.

Raghu
Beginning EJB 3 Application Development
 
Consider Paul's rocket mass heater.
 
subject: EJB3.0 without app server
 
Similar Threads
delay your test
Need help in practicing EJB3.0
EJB 3.0 Industrial demand
EJB2.0 or EJB3.0?
Injecting EJB into a JSF web application