Hai,
Inside your root folder you create one META-INF Folder and copy the xml files in to that.There is no need to keep the .xml files inside your root folder. The root folder i am telling is the folder which containing the .java files.
1.go to the folder c:\bea\weblogic700\server\bin;
2.inside that execute the batch file to set the path. type setwlsenv.
3.go to your folder in that same command prompt. compile all your
java files using javac *.java.
4.creating jar file using the following command: jar cvf hello.jar META-INF *.class
5.open another command prompt and go to the bin folder and type startwls.
6.it will ask username & password, default user&pass is weblogic,weblogic.
7.If there is no config.xml then it will ask u that u want to create one new config.xml, you press 'y' and reenter the password the server comes under runnable mode.
8.open internet explorer and type
http://localhost:7001/console 9.press deployments and press create new
EJB module and press upload your files option in second frame and select your folder and select the jar file which you created yearlier.
10.press upload button after that in the second frame scrolldown the page, in that list your will also be there select that and it will go to next frame, there u just press the button deploy. In that deployment screen u press the right button in the mouse and press refresh and it will show you the message redeploy, then u can know that ur jar was deployed in to the server.
11.Go to the dos prompt which u opened first there u can run your client program.
12. If u want to shut down the server goto the console mode select servers in the first frame.click the myserver in the first frame itselt. It will ask u the question graceful shutdown the server and press that. Your server will be shut down.
This is the process.You execute in the manner that what it wrote above.And one more thing if it wont take the meta-inf folder means u search for already given meta-inf folder. I think it will be in the samples folder. copy that folder and paste it in to your folder. Replace the xml file. If u had any problem send mail to
rdhurga_4881@yahoo.co.in