Hi,

i don't know if there is a free version of deployment tool but i know how to deploy
a jar.

1. Put the home, remote, bean and deployment descriptors (ejb-jar.xml and
weblogic-ejb-jar.xml ) in the jar (view the weblogic documentation
http://e-docs.bea.com)

2. compile the jar with the command :
[JAVA_BIN_HOME]\java -Dweblogic.home=[WLS_HOME] weblogic.ejbc -compiler
[JAVA_BIN_HOME]\javac [NOME_jar] [NOME_NEW_jar]

3. Modify the property "weblogic.ejb.deploy" in weblogic.properties.


Example.
MyHome
MyRemote
MyBean
META-INF\weblogic-ejb-jar.xml
META-INF\ejb-jar.xml

jar -cf naked.jar .

java -Dweblogic.home=c:\weblogic weblogic.ejbc -compiler c:\jdk\bin\javac naked.jar
My.jar

in My.jar you'll have ur classes and stub and skel classes

edit the weblogic.properties

weblogic.ejb.deploy=C:/mydirjars/My.jar

start weblogic

Bye


Hardeep Singh wrote:

> Hi,
>
> I am new to weblogic. I hace created an entity bean and compiled it. I have
> put the Home, Remote and the Bean CLASS files into a JAR along with a
> ejb-jar.xml deployment descriptor. Since I have the demo version of
> weblogic, I have not got the deployment tool. So tell me:
>
> 1. Is a free version of deployment tool available from BEA website?
>
> 2. If not, how can i deploy my JAR without any deployment tool?
>
> 3. Can I use Visual Cafe to deploy the JAR? If so, How?
>
> Please answer these questions urgently.
>
> Hardeep
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
Claudio D'Angelo
Software Engineer
ObjectWay S.p.A.
Via G.A. Boltraffio 7
20159 Milano (MI)
http://www.objectway.it
[EMAIL PROTECTED]
Cell.:        0348-3033663
Numero Verde: 800051060
Tel.:         02-69007123
Fax.:         02-69007320

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to