Writing Back-End ComponentsBack-end components are Java objects that implement the business logic behind Web service operations. Your two main choices are stateless session EJBs or Java classes. For guidance on which component might be more appropriate for your Web service, see the section "Understanding Design Considerations" earlier in this chapter. WebLogic's ServiceGen task can take written back-end components and generate Web services from them. Stateless Session EJBsEnterprise JavaBean classes used as back-end components are no different from any other EJB. The only special considerations are the following:
Java ClassesFor lightweight business logic, you can use regular Java classes as Web service back end components. However, note the following limitations when doing so:
|