| ollka.vallka@gmail.com 2007-03-21, 7:02 pm |
| Hi all,
I'm trying to write simple example - java client, which do smth useful
with ejb through corba.
I already have some beans (entity and session) and simple jnp client.
I want to make Cobra client to my ejbs.
Ejb deployed to jboss.
I found some tutorial, and trying to do step by step.
Firstly I generated idls with tool rmic
Then I trying to generate java code from idl with tool idlj.
This tool generated some java classes (Stubs, Holders, Helpers, etc),
but firsly i don't understand, why i need to do it with all import
classes - the stubs, helpers, etc. generated to those classes to (if
don't it wouldnot work)
And one question else: Why it use some <ClassName>Impl but don't
created them. Must I implement those abstract classes and interfaces
with special logic?
I tryed to implement such classes and i have not write any logic -
just as stubs.
When I'm able to compile, I try to start my client, but i have error
and i don't understant what does it mean and can't find any answers.
Please, help me with this deal and forgive me my poor english
ollka
|