I have started preparing and deploying a simple
EJB in Sun One Application Server 7. So I thought I can go with you here...
Step-1: Download and Install SunOne Application Server 7 Download SunOne Application Server 7 from
http://wwws.sun.com/software/products/appsrvr/appsrvr_download.html Unzip the downloaded ZIP file to your chosen directory. I have installed it in my office's C:\winxpprog\javaGroup\sun1as7 and in my home PC's D:\win2kProg\javaGroup\SunOneApp7 directory. We'll call it %SunOneHome% from now on. Now you can use your control panel's Services tab or Start Menu\Sun Microsystems sub menu to start stop the application server.
Now write down a simple Stateless Session Enterprise JavaBean that say's HelloWorld to its users.
Step-2: Write Down The Remote Interface HelloWorldRemote.java Step-3: Write Down The Home Interface HelloWorldHome.java package com.javaRanch.sunOne;
/**
* HelloWorldHome provides the container the means to create and destroy EJB's.
*/
public interface HelloWorldHome extends javax.ejb.EJBHome
{
HelloWorldRemote create() throws java.rmi.RemoteException, javax.ejb.CreateException;
}
Step-4: Write Down The Enterprise Bean HelloWorldBean.java Coming with the later parts soon.
[ August 10, 2003: Message edited by: Ashik uzzaman ]