Java Reference
In-Depth Information
After entering the appropriate information, the method is added both to the bean
and its remote interface.
The default implementation will simply return null . For this simple example we will
simply modify it to return the string "echoing:" concatenated with the parameter that
was passed.
At this point we have a simple, but complete stateless session bean.
Accessing the bean from a client
Now it is time to focus our attention to the client. For remote clients, the client project
needs to use the Java Class Library project containing the remote interface.
Adding the class library project is very simple, we simply need to right-click on the
Libraries node in the project and select Add Project... .
Search WWH ::

Custom Search