• Post Reply Bookmark Topic Watch Topic
  • New Topic

Create a JAR file for class diagram relationship  RSS feed

 
sam liya
Ranch Hand
Posts: 1274
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a class diagram which shows relationships between classes. I need to create a JAR file for that relationships which can use for other projects.
Example
there is a Employee table and Department table and Salary table.
Employee
Department
Salary

I need to create a JAR for this relationship. What kind of approach is good for this?
 
Campbell Ritchie
Marshal
Posts: 56529
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You create classes to implement the UML diagram and put them into the .jar.
 
sam liya
Ranch Hand
Posts: 1274
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) do i need to provide the service classes for save,delete,find.....
2) how to create a jar for this ?
 
Knute Snortum
Sheriff
Posts: 4274
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sam liya wrote:1) do i need to provide the service classes for save,delete,find.....

It depends on what you are going to do with this jar file.  Will it be used as a library?  Do you need those classes in the library?
2) how to create a jar for this ?

Also depends on how you will use this jar file.  Are you going to execute the jar or use it as a library?

Please TellTheDetails (that's a link).
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!