I created the first 3 by File|New|EJB project and placed these home interface,bean interface,bean class in the folder.
Sample EJB EJB Modules com ibm pbw ejb samplehome.java samplebean.java sample.java
Now my problem where to write this client code sampleclient.java and how? (I mean File|New|??|??)? After writing the client code , how to run the ejb?
Please remember that I am working in Websphere
bye priya.
Dave Clark
Ranch Hand
Joined: Feb 16, 2005
Posts: 52
posted
0
I take it by 'WebSphere' you actually mean WSAD (i.e. WebSphere Studio Application Developer) - which is the development tool of choice for WebSphere - the Application Server.
If you're using WSAD, go to File -> New -> Other -> J2EE -> Application Client Project to create a J2EE Client Container client. This will give you a client container deployment descriptor and easier access to JNDI and a few other services than a vanilla J2SE client.
cheers,
Dave.
Dave Clark<br />Senior WebSphere Architect<br /><a href="http://www.versant.com" target="_blank" rel="nofollow">Versant Open Access - JDO2 & EJB3</a>
Priya Sri
Ranch Hand
Joined: Mar 30, 2004
Posts: 84
posted
0
Thanks Dave...
I will try it and let u know..
bye priya
Priya Sri
Ranch Hand
Joined: Mar 30, 2004
Posts: 84
posted
0
hi dave, I created an application client project as u said. But the sampleclient.java is not able to import the home interface and bean interface... i.e.,