First of all, thank you for your help!
I added the jbossall-client.jar but it still doesn't work...

I think that I am missing smg huge... 
Let me explain what I want to do so that maybe you can lead me to the right 
solution:
What I want is simply to deploy an EJB and access it locally with my little 
client application. The statless EJB will just print out a simple "Helloworld"

I am using jboss Eclipse IDE, and I launched the creation of an EJB, and then 
added a business method that looks like this:


public void Affichage() {
                // TODO Auto-generated method stub
                System.out.println("Helloworld");
        }


I launched the Xdoclet generation after entering all the information needed, 
and what I have next is the following:

-source 
...-tutopack.ejb
.....+Hello.java
.....+HelloBean.java
.....+HelloHome.java
.....+Client.java
.....+ejb-jar.xml
.....+jboss.xml
+JRE System Library [JRE 5]
+javax.servlet.jar
+jboss-j2ee.jar
+JRE System Library [JDK 1.4 2005Q1]
+JUnit Libraries (Jboss-IDE)
+jbossall-client.jar
-Adrien.ear
-application.xml
-HelloBean.jar
-HelloTestClient.jar
-packaging-build.xml
-xdoclet-build.xml



My packaging looks like this:

HelloBean.jar
   +/Tuto4/output/ejb-jar.xml -> META-INF
   +/Tuto4/output/jboss.xml -> META-INF
   +/Tuto4/application.xml -> META-INF
   +/Tuto4/source/tutopack/ejb/Hello.java
   +/Tuto4/source/tutopack/ejb/HelloBean.java
   +/Tuto4/source/tutopack/ejb/HelloHome.java

HelloTestClient.jar
   +/Tuto4/output/tutopack/ejb/Client.java
   +/Tuto4/application.xml -> META-INF

Adrien.ear
   +/Tuto4/HelloBean.jar
   +/Tuto4/application.xml ->META-INF




I suspect a LOT of errors in that, but since I'm a total beginner to jBoss and 
EJB (never actually managed to see an EJB working...) I don't know where to 
look...

Once more, thank you very much for your support because I'm totally lost with 
that. I would really like to find a tutorial somewhere for total beginners in 
EJB, but I can't, everytime I find one it's running on a different server (not 
jboss) and I get confused. The only tutorial with jboss and Eclipse I found is 
using those servlets... 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936529#3936529

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936529


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to