Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

About EJB or RMI

Thread view: 
Mr. X. - 02 Jun 2007 23:55 GMT
Hello.

I don't know if EJB or RMI is the solution,
but I would like knowing much about EJB & RMI.

Also,
I have on windows platform a window-service, which get requests from clients
and for each client it creates a thread,
and each thread process do some tasks.

I need to do simmiliar thing on java (with none windows' platform).
How can I do that (what I can do instead of windows' service),
and does EJB / RMI give me solutions for that ?

Thanks :)
Arne Vajhøj - 03 Jun 2007 00:05 GMT
> I don't know if EJB or RMI is the solution,
> but I would like knowing much about EJB & RMI.
[quoted text clipped - 7 lines]
> How can I do that (what I can do instead of windows' service),
> and does EJB / RMI give me solutions for that ?

Both an RMI server and a J2EE application server with EJB's
inside provide something you can call.

And they will even do the threading for you.

J2EE and EJB is rather "heavy" compared to a simple RMI
server but also provides a lot of additional functionality:
transactions, clustering (most app servers at least) etc..

If you prefer small & few features or huge & many features
I can not say.

Arne
Mr. X. - 03 Jun 2007 00:25 GMT
Thanks.

Can you give me a code sample, please , using clients & server n-tier
application ?

Thanks :)
Arne Vajhøj - 03 Jun 2007 03:41 GMT
> Can you give me a code sample, please , using clients & server n-tier
> application ?

No.

Arne
Mr. X. - 03 Jun 2007 06:08 GMT
> No.
Why ?
It's a simple & standard sample, that is around the internet somewhere.
(I didn't find any sample yet).

Thanks :)
Robert Klemme - 03 Jun 2007 09:51 GMT
>> No.
> Why ?
> It's a simple & standard sample, that is around the internet somewhere.
> (I didn't find any sample yet).

If you know it's so simple you'll sure be able to easily code it up
yourself. :-)

Client server is not as easy as printing "hello world".  I suggest you
look for Sun's tutorials on those technologies mentioned to get a better
understanding.

    robert
Arne Vajhøj - 03 Jun 2007 15:30 GMT
>> No.
> Why ?
> It's a simple & standard sample, that is around the internet somewhere.

Possible.

But I can not see any reason why I should google for you.

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.