I forgot the client class :
public static void main(String[] args) {
|
| try {
|
| Context ctx=new InitialContext();
|
| Object
rem0=ctx.lookup("petstore_ear/CustomerBean/remote");
|
hi,
I use eclipse and jboss 4.2.2.
I created a EAR project (enterprise application project) which contains 2
sub-projects : an EJB project which contains some EJB and a JPA entity, and a
java project which contains the client "main" method.
here is my problem : nothing at the writing of the code
hello,
thanks for your reply.
I changed the code of the client, and now I have the following error :
"javax.ejb.EJBException: java.lang.IllegalArgumentException: Unknown entity:
source.customer.Customer".
the class it speaks about is a class I created in a JPA project.
I added references to thi
hello,
I can"t access to a EJB via JNDI.
here is the stuff I use : eclipse ganymède JEE, JBOSS 4.2.2 (modified to be
used with MySQL).
I have created an EAR project (enterprise application project), names
petstore_ear, which contains several projects: an EJB project which contains
many EJBs, a