Hi All
Hope you can help me on this
I have a
java class (POJO) which comprises of business logic methods.
This POJO invokes the DAO which inturn calls the database stored procedure
to persist the data
Now I have been told to make this POJO available as an
EJB and a web service too.
Could i attain something like this
I dont want to disturb the existing POJO
I want the EJB or web service only as a wrappers on top of ther existing POJO
I dont want to duplicate the same logic in the EJB & Webservice
Can i make my EJB & webservice something like a router to the POJO rather than
duplicating the whole business functionality all over again inside the EJB & the
Webservice
Kindly respond. If the above scenario looks feasible also I would be glad if someone
posts details about how to go about the same
Regards
Rohit