on 07-12-2005 4:21 PM
Hi,
I have an EJB project on the JDI with a couple of entity and session beans. for transfering data between the beans I want to use java data classes.
For this I generated a new DC project with the type java an generated my data classes and the getter and setter methods.
How can I get a JAR out of this java DC project to use a "used DC" in the bean projects.
Regards Bernd
Hi, Bernd,
you have already Java DC. Define a PP (public part) in the DC and include all your "reusable" classes in it.
Most likely you'll need two public parts:
one with purpose "compilation" - it is better to have only API in it
and one with purpose "assembly" - this one is expected to have all necessary in run/deploy-time classes.
From your EJB project you may use the Java DC during build (first PP) as well as pack the jar (second PP)
Kind regards,
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the context menu on the project (in package explorer). There is an entry 'export'. With that you could create jar files of your project.
regards daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.