The Inventory Item Example—COM Client Accessing an EJB

In the inventory item example, we'll expose an Inventory Item EJB and access it through a Visual Basic COM client. The Item EJB can be found in the c:\ch33\jCOM\InventoryItem\earlybound directory. Make sure that it's deployed and available on WebLogic Server. We will access this bean in a late bound and then an early-bound fashion.

The main difference between the early-bound and late-bound examples is that for early bound access, an additional task is required: creating and deploying a type library and wrapper classes for the bean.

The example presumes that you have both WebLogic and the COM client on a Microsoft Windows machine. You'll need Visual Basic 6.0 and the Microsoft MIDL compiler ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.