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 error using embedded container Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "error using embedded container" Watch "error using embedded container" New topic
Author

error using embedded container

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 747

Hi,

I use Netbeans 7.1.
I have created:
- Java class library,
- EJBModule with remote interface,
- Enterprise application client.

The client's code is as follows:


DI looks fine as well as lookup through JNDI. However the line:
EJBContainer.createEJBContainer();
causes some problems:



Is there any cure for that?


SCJP6, SCWCD5, OCE:EJBD6.
 
 
subject: error using embedded container
 
Threads others viewed
cannot retrieve stateless bean using JNDI
Glassfish/NetBeans/beans.xml
Accessing EJB from a Swing Client
How to develop a standalone swing application with ejb 3.1
How to: use Form based auth via JDBCRealm:oracle in Glassfish 3.0
IntelliJ Java IDE