[Weblogic]Deploy EJB using Weblogic Builder[1/2]

        To Deploy EJB, we need a configuration file of EJB in XML; ejb-jar.xml. You can write it by yourself if you want to learn XML grammar; however, you will make many spelling mistakes in that way. Because BEA provides Weblogic Builder tool after installing weblogic server, you can use it to make configuration file.
        Before starting, we need some EJB to deploy; in here, I will use a "Hello World" SessionBean example in J2EE Base EJB Programming lesson.
        First of all, compile a "Hello World" SessionBean, and then place its .class files at C:\ejb\hello.
        Now, every preparation was made to meet Weblogic Builder. Start it.

Then, you can see the following program.

Click File -> Open. Select C:\ejb, and then click the button "Open"; you can see the following alert message.

Click "Yes".
        That's All. The only thing you should give attention to is "JNDI name" part. Let's use the default value, HelloEJB.

        Select File -> Save. Even though you don't smell a rat, you have made a SessionBean. Next time, you will move a HelloEJB to the weblogic. See you.


by 해적 | 2007/07/16 10:06 | TipsForStoneKids | 트랙백 | 핑백(3) | 덧글(0)

트랙백 주소 : http://bombbomb.egloos.com/tb/1340321
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]
Linked at Treasure iLand :.. at 2007/07/18 10:46

... g to the local site; http://localhost:7001/console. Then, you can see the following window. &lt;PREV&gt; ... more

Linked at Treasure iLand :.. at 2007/07/18 11:31

... server, in here weblogic, you have to do some special works; Building SessionBean and Deploying a SessionBean to weblogic. Afterall, ... more

Linked at Treasure iLand :.. at 2007/07/18 15:20

... To deploy EJB, you have to some secrete rite; Building EJB and Deploying EJB to weblogic. You may think it is just copying .class files from local location to ... more

:         :


비공개 덧글

◀ 이전 페이지          다음 페이지 ▶