July 16th, 2003, 04:42 AM
Eclipse:Lomboz - sharing class between client and server
Has anyone had any success sharing java classes between JSP and EJBs in Lomboz and eclipse?
The situation is that I use a wrapper class to contain some simple types - and want the class available to my ejbs (sent in as a parameter) and constructed in the client (in the JSP).
Currently I have the client and server code as separate projects (to avoid unnecessary class duplication). I have tried various approaches:
1. Making the server dependant on the client and vica versa - neither worked.
2. Using a separate common project - and then building a jar, which I add to the buildpath of both projects - an error occurs in the jsp - where it attempts to compile the wrapper class - this is bizarre
Anyone have any success with a similar problem?
July 16th, 2003, 10:11 AM
What's the error you are getting?
The exception stack would be helpfull.