#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Sheffield, U.K.
    Posts
    2
    Rep Power
    0

    Question 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?

    Cheers
    Andy
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    78
    Rep Power
    12
    What's the error you are getting?
    The exception stack would be helpfull.

IMN logo majestic logo threadwatch logo seochat tools logo