Skelton not generated using idl2java !
posted 24 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I have downloaded visibroker ver 4.0 for Windows NT from the www.inprise.com. I tried to compile the bank.idl file given in the examples directory of visibroker using idl2java but it doesn't generate the _example_Account file, Where I need to provide implementation for my corba object . It generates the following files :
Account.java
AccountHelper.java
AccountHolder.java
AccountManager.java
AccountManagerHelper.java
AccountManagerHolder.java
AccountManagerOperations.java
AccountManagerPOA.java
AccountManagerPOATie.java
AccountOperations.java
AccountPOA.java
AccountPOATie.java
_AccountManagerStub.java
_AccountStub.java
Where am I going wrong ?
Account.java
AccountHelper.java
AccountHolder.java
AccountManager.java
AccountManagerHelper.java
AccountManagerHolder.java
AccountManagerOperations.java
AccountManagerPOA.java
AccountManagerPOATie.java
AccountOperations.java
AccountPOA.java
AccountPOATie.java
_AccountManagerStub.java
_AccountStub.java
Where am I going wrong ?
SCJP, SCJD, SCWCD, SCBCD, SCEA
posted 24 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hi,
Nothing is wrong..
These files generated is enough for u.. why do u need skeletons..?
Proceed with the example..
Saran
Nothing is wrong..
These files generated is enough for u.. why do u need skeletons..?
Proceed with the example..
Saran
Saran
Sun Certified Java2 Programmer
ravi janap
Ranch Hand
Posts: 389
posted 24 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Dear Saran
How do I create the server object? I have worked with visibroker 3.4 , It creates a implementation java program _exampleAccount with a default implementation where I can provide my own implementation code. Can you send me some sample code for a server object ? I know the IDL file, the seven java files which are generated as a result of compiling the IDL with idl2java and server program and client program . In my server program , If I say
AccountImpl ai = new AccountImpl();
How do I create this AccountImpl and which class does it extend ?
My email id is [email protected]
How do I create the server object? I have worked with visibroker 3.4 , It creates a implementation java program _exampleAccount with a default implementation where I can provide my own implementation code. Can you send me some sample code for a server object ? I know the IDL file, the seven java files which are generated as a result of compiling the IDL with idl2java and server program and client program . In my server program , If I say
AccountImpl ai = new AccountImpl();
How do I create this AccountImpl and which class does it extend ?
My email id is [email protected]
SCJP, SCJD, SCWCD, SCBCD, SCEA
posted 24 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
You can write the implementation class yourself and can give any name to it.
eg BankImpl and extend this from the _AccountImplBase that the idl2java compiler generated for you if you are using the BOA(Basic Object Adapter).
If you are using the POA(Portable Object Adapter) the class you need to extend is the AccountPOA.
eg BankImpl and extend this from the _AccountImplBase that the idl2java compiler generated for you if you are using the BOA(Basic Object Adapter).
If you are using the POA(Portable Object Adapter) the class you need to extend is the AccountPOA.
| Do you want ants? Because that's how you get ants. And a tiny ads: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |






