Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Huge applets with Visibroker 4.5

0 views
Skip to first unread message

Oleg Konovalov

unread,
Jun 27, 2001, 11:54:51 AM6/27/01
to
Hi,

We are developing applets which use Visibroker to connect to C++ backend

using VisualAge for Java Enterprise Edition.

When we do "Select referenced classes", it selects some classes
from our Visibroker project (primarily contents of vbjorb.jar).
But the collection of classes selected was never enough to run it
successfully.
We were constantly getting exceptions with missing classes
or "can not instantiate ORB"
at org.omg.CORBA.ORB orb=org.omg.CORBA.ORB.init(this, null) call
[JApplet=this; ]:

org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
com.visigenic.vbroker.orb.ORB minor code: 0 completed: No
at org.omg.CORBA.ORB.create_impl(Unknown Source)
at org.omg.CORBA.ORB.init(Unknown Source)
at com.telcordia.dbas.notify.DbasNotify.initialize(DbasNotify.java)
at com.telcordia.dbas.notify.DbasNotify.init(DbasNotify.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
So finally we had to manually add
the whole vbjorb.jar in order to make it run successfully.

In Visibroker for Java 3.4 vbjorb.jar was relatively small (800K
uncompressed).
But in VBJ4.5 vbjorb.jar is huge (3M compressed) and without it we are
getting all these exceptions.
We called Borland, they said there is no smaller version of vbjorb.jar
It's not nice to use applets which are over 3M. ;-)

Is there a way around it ?

How to use that Export list facility in VisualAge for Java 3.5.3 ?


Thank you in advance,
Oleg.

P.S.: Please reply via e-mail also.

0 new messages