Reuse implemented business classes in a web applications
on Stack Overflow
See other posts from Stack Overflow
or by Mohammad
Published on 2010-04-17T07:41:11Z Indexed on 2010/04/17 7:43 UTC
Read the original article Hit count: 266
I have implemented my domain layer classes and i have used them in a java application. Now i want to use same classes in a java web application,but i dont know how can i do it? In the java aplication we make and run some objects in main(class and method) and use them while program is running. for example an object that hold a collection of data that will be needed for all user requests. My question is: How can i create and hold such objects and data that should be available for all users and clients.
© Stack Overflow or respective owner