aspose file tools*
The moose likes BEA/Weblogic and the fly likes create EJB without deploy? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "create EJB without deploy?" Watch "create EJB without deploy?" New topic
Author

create EJB without deploy?

Joe Man
Ranch Hand

Joined: Feb 17, 2002
Posts: 71
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.


Sun Certified Web Component Developer for the J2EE Platform<br />Sun Certified Programmer for the Java 2 Platform
Thomas Smets
Ranch Hand

Joined: Dec 11, 2001
Posts: 111
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 ]

Thomas Smets
Just another developper
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Moving this to the BEA/WebLogic forum...
Joe Man
Ranch Hand

Joined: Feb 17, 2002
Posts: 71
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

Joined: Mar 11, 2001
Posts: 351
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

Joined: Mar 11, 2001
Posts: 351
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

Joined: Feb 17, 2002
Posts: 71
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

Joined: Mar 11, 2001
Posts: 351
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: create EJB without deploy?