I have a requirement where two Ejb Applications need to interact. We have a Role access control application that handles user related stuffs like login, user roles in applicatiosn ect. Another application does not have any tables in the database that correspond to Users. This application need to intereact with the Access control application for user authentication and roles access. The Access control application is a full Web application with Ejb and web modules. Can any one suggest me an approach where i can integrate both the applications easily. Thanks in advance
Ejbs are remote objects (I should said can be remote objects), just make remote calls.
Joined: Oct 07, 2002
Thanks Chris We have a login page in the acess control application. Its a jsp. It inturn has its own business logic classes. This logic i generic with respectiveto the application that will access. Hence we require to use this business logic in our application. In short i need to use both Web application and Ejb application in our application. Again thanks in advance kiran
Joined: Jul 18, 2001
Good design dicates that we remove business logic from our presentation layer. Your first task is to push the authentication business logic into your ejb layer and modify your presentation layer to use this. Then it is an easy step to allow other external applications to access these ejbs.