For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > June 2006 > EJB newbie









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author EJB newbie
Srik

2006-06-17, 7:01 pm

I am new to EJBs. I have written a Session bean and i tried to compile.

But the import statement "import javax.ejb.*" gives a compilation
error. Do i have to include any other jar in the classpath?

Frank Langelage

2006-06-17, 7:01 pm

Srik wrote:
> I am new to EJBs. I have written a Session bean and i tried to compile.
>
> But the import statement "import javax.ejb.*" gives a compilation
> error. Do i have to include any other jar in the classpath?
>

Any other than what?
You'll have to pick up a jar file containing those classes.
The name of the jar file depends on the J2EE-Server you use.
Srik

2006-06-17, 7:01 pm


Frank Langelage wrote:
> Srik wrote:
> Any other than what?
> You'll have to pick up a jar file containing those classes.
> The name of the jar file depends on the J2EE-Server you use.


i am using J2EE1.4 server downloaded from sun's website. can u please
tell me which jar to include?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com