Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how do i place class file dynamically  RSS feed

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i deployed ear in jboss/server/default/deploy/A.ear directory;

in the ear i have x.jar and y.war files;

i compile source files in jdeveloper ;classes will be placed in jdeveloper/jdev/mywork/trans/classes/mypackage/blah/blah...

normally what i do is when i compile any utility class i copy that class file into x.jar of jboss/server/default/deploy/A.ear directory;


Is there any way in jboss to dynamically to recognize class files that is compiled in jdeveloper.

when i compile class file in jdeveloper what i want is it should place in to the x.jar of the jboss/server/default/deploy/A.ear directory;
 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is nothing to do with JBoss.

I would expect a sensible approach would be to create a "utility project" in JDeveloper, then develop all your utility classes in that project, then when you build that project they will be packaged into a single JAR which you can include in your EAR.
 
maha laxmi
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Daniel Rhoades:
This is nothing to do with JBoss.

I would expect a sensible approach would be to create a "utility project" in JDeveloper, then develop all your utility classes in that project, then when you build that project they will be packaged into a single JAR which you can include in your EAR.

;

no u misunderstood my question.

already jar was there inside the A.ear in my jboss directory.
in the jar classes were there;when i compile class in jdevloper those class file should be replaced in jar inside of the A.ear in my jboss directory
 
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!