Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
hi! i am trying to deploy Hello world example in weblogic 6.0. i have following class files in Demo.jar 1. DemoHome 2. Demo 3. DemoBean 4. xml-ejb.jar but when i use ejbc i-e java -Dweblogic.home=d:\export\weblogic\ weblogic.ejbc d:\ejb\demo\Demo.jar -d Bean.jar i get following error ERROR: java.io.FileNotFoundException: META-INF/ejb-jar.xml not found in jar file can any body help me or give me a step by step tutorial to deply this thing thanks
This forum is for EJB and for J2EE and is not devoted to Weblogic. We have a forum for Weblogic in the Products section. Please post your query there. Matt or any Sheriff could you please shift this to that forum. Thanks.
hi mujtaba, I am herewith writing the steps to deploy ejb in weblogic6.0 1)compile your home,remote and bean class. 2)create a text or xml deploymentdescriptor. a)Text deploymentdescriptor you can find sample deplyment descriptor in the weblogic.it may be in the name DeploymentDescriptor.txt.change the home interface,remote and bean class name in the deplymentfile.then use the utility java weblogic.ejb20.utils.DDConverter -d outputdirectory name Textfilename to create xml file from the text file.you may get two xml files ejb-jar.xml and weblogic-ejb-jar.xml. b)Xml file descriptor there are sample xml files in the weblogic directory named ejb-jar.xml and weblogic-ejb-jar.xml,change the remote,home and bean class name in the xml deploymentdescriptor.
3)create a directory named META-INF and copy the xml file into this directory. create jar file for meta-inf and the directory containing ejb classes.now use java weblogic.ejbc. copy the jar file into the application directory of your weblogic mydomain. start the weblogic server and run your ejb dont forget to set the classpath to weblogic.jar and weblogic_sp.jar. srivatsan 4)
Hi when i run command weblogic.ejbc i get error :Class AccountBean not found Why so? My commands are: copy *.xml build\META-INF javac -d build Account.java AccountHome.java ProcessingErrorException.java AccountBean.java cd build jar cv0f beanManaged.jar META-INF wow cd .. java -classpath %WL_HOME%/lib/weblogic_sp.jar;%WL_HOME%/lib/weblogic.jar java weblogic.ejbc -compiler javac build\beanManaged.jar %APPLICATIONS%\beanManaged.jar this iswhere i get error