How to link 2 projects in Eclipse [message #183632] |
Sat, 02 December 2006 23:23 |
Eclipse User |
|
|
|
Originally posted by: spam.free.fr
Greetings,
Here is the problem :
I got a business layer developped as a standalone project which uses
Hibernate.
Another project is a struts web app.
I have found the Hibernate plugin to glue hibernate with struts and it
works ok.
Now I got 2 solutions :
Solution 1 :
I copy the business layer as a package into my webapp (not very nice
since I want to have my business service as loose-coupled as possible)
and link the whooe stuff : it works
Solution 2:
This is what I fail to succeed :
Create a webapp project and link it to the other project (the business
layer).
I compile my code ok BUT when starting the hibernate plugin, it cannot
find the hibernate mapping files :( and the whole thing crashes of course.
Do you have any suggestions here ?
How could I make it know that the mapping files are in the other projet ?
Many thanks for your help.
|
|
|
Powered by
FUDForum. Page generated in 0.04000 seconds