In a nutshell they will use the same kind of code like your remote clients. One thing you can do is to deploy your ejbs and look in the samples that your container provides and get a remote client that connects to the server and invokes a business method on your ejb. You probably need to twist the code little bit in order to satisfy your needs, but this shouldn�t be very difficult. Once this works you can copy the code in your JSP or servlet and see how it works. What you�ll end up doing is far from being a �commercial� version of your application, but you�ll have something that will help you understanding how things work. Finally you need to do some designing work, using a service locator, data transfer objects, session fa�ade, business delegates, etc. Lot of work true, but you should remember that everything should start from having a clear understanding of the small and fundamental concepts. Regards.
I think, therefore I exist -- Rene Descartes
Joined: Aug 24, 2005
look like some J2ee design patterns are needed to imply in designing work.so what are the APIs I need to know. can you name them? because before I really start to code, I want to get the whole picture of idea.By the way, thank you for your message.
Pick up a copy of the 'J2EE Design Patterns' book and you'll see firsthand how to fully architect what you're trying to do. Also, the SUN J2EE Tutorial is also helpful. These books will contain all the design patterns that you'll need.