Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create EJB without deploy?

 
Joe Man
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to EJB..
I have created an stateless bean and i want to use it with WebLogic 6.1. I'm runing development mode right now. Do i need to jar everything up first and then deploy it to app server? Can i just copy the files into the applications directory and run it from there without jar it?
It is painful to jar up everything again and again just to make one small modification to the EJB code.
Any suggestion would be helpful.
Thanks so much.
 
Thomas Smets
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Give a look at ANT, It'sa java make in java.
Hope you enjoy it as much as I do !

Thomas SMETS,
[ April 28, 2002: Message edited by: Thomas SMETS ]
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the BEA/WebLogic forum...
 
Joe Man
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thomas,
I have never use ANT before. Are there any tutorial docs out for there for it? I'm interested learning it. But i'm not sure how deep the learning curve is.
So there is no way to use the EJB without jar it up first? and compile it with ejbc ?
I understand the web component(jsp/servlet) can be automatically deployed by WebLogic server as long as you places those files in the correct directory structure. I want to know if this is true for EJB also.
Thanks..
 
Michael Pearson
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is Java Ranch Forum for Jakarta projects and those questions should be asked there in the future.
Apache is a Java based build tool.
Ant Home Page
[ April 28, 2002: Message edited by: Michael Pearson ]
 
Michael Pearson
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Joe Man:
I'm new to EJB..
I have created an stateless bean and i want to use it with WebLogic 6.1. I'm runing development mode right now. Do i need to jar everything up first and then deploy it to app server? Can i just copy the files into the applications directory and run it from there without jar it?
It is painful to jar up everything again and again just to make one small modification to the EJB code.
Any suggestion would be helpful.
Thanks so much.

Welcome to the BEA forum Joe!
New to EJBs, but I can't tell from your post how familiar you are with WebLogic.
BEA has a great website to get the documentation you need for any version of WebLogic.
Give this a try:
BEA e-Docs
 
Joe Man
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I should say i'm new to EJB and WebLogic. The BEA e-Docs doesn't have the information i'm looking for. Or may be i just couldn't find it. All i like to know if it is possible to modify the EJB without redeploy again.
I don't wanna modify the EJB 5 times and redeploy the jar file 5 times. Or restarting WebLogic 5 times..
 
Michael Pearson
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From BEA e-docs

The automatic mode deployment option is the default. This feature automatically polls the application directory of the active server during startup and while the server is running, to determine whether an EJB deployment has changed. If a deployment has changed, it is automatically deployed when the server is polled.

Go to this link and look for the header - Using the Automatic Mode for Deployment.
EJB Deployment
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic