viernes, 6 de mayo de 2011

EJB

HAY 3 TIPOS DE INTERFACES - @Remote, @Local and @WebService

Every stateless session ejb has its own business interface. There're three types of business interfaces - @ Remote, @ Local and @ Webservice - and their combinations. Suffice to say that every EJB development starts from defining a business interface and implementing it by a bean implementation class.

The time has come to use the ejb in the web application. We create a jsp page index.jsp that executes a servlet MyServlet that in turn executes the ejb MyStatelessSessionBean.

No hay comentarios: