what is the difference between java E beans and RMI ?

Hello

I have to develop a program that allow the users to have access to the Patient information . The program will also organize appointment between the users and the patients. + extra thing like agenda .....

I will have about 10 to 20 user that will have access at the same time to the same info .

My question is :what is the best solution for such kind of programes

RMI :after searching in google (it is light weight )

java beans:more powerful than RMI

or maybe thread ?

any one can explain the difference please ?

Thank you

[585 byte] By [linuxchilda] at [2007-10-3 4:08:42]
# 1
please some help
linuxchilda at 2007-7-14 22:08:34 > top of Java-index,Java Essentials,New To Java...
# 2
is this by any chance a web page?well, if it is.. then you should be using java beans..RMI, which is used in both Java Applications that passes objects to each other are used in intranet Applications.-NywledMessage was edited by: Redxxiv
Redxxiva at 2007-7-14 22:08:34 > top of Java-index,Java Essentials,New To Java...
# 3

What does java E beans stand for? You mean Enterprise Java Bean(EJB)?

I know about EJB.

I think EJB using the techniques of RMI.

If you design to use EJB, you have to config free Application Server like JBoss or Expensive Application Server like Websphere.

The link for RMI.

http://java.sun.com/docs/books/tutorial/rmi/overview.html. EJB may have more concepts than RMI.

Are you familiar with Java? 10 to 20 users is not a big number. Even simple Javabeans(not EJB) can handle it. If you are beginner in Java, I would recommend simple Javabeans, servlet and JSP.

EJB involving many client side and server side object.

If you use EJB, you have to learn the concept first. The newest version of EJB is 3.0. I would recommend EJB 2.0 to you. The book "Mastering EJB" is good and it is free on some website.

You can also download the J2EE example from sun and try it on J2EE 1.4 server.

I have experienced in J2EE 1.4 application server, weblogic and websphere server.

evilknighthka at 2007-7-14 22:08:34 > top of Java-index,Java Essentials,New To Java...
# 4

thank you for your help

> What does java E beans stand for? You mean Enterprise

> Java Bean(EJB)?

> I know about EJB.

yes I mean EJB

> Are you familiar with Java?

I dont know if i have to say yes .I developed many swing applications with a data access to postgresql

> Even simple Javabeans(not EJB) can handle

> it. If you are beginner in Java, I would recommend

> simple Javabeans, servlet and JSP.

It is a swing application

> EJB involving many client side and server side

> object.

the reason why i want to use EJB or RMI ,is the multi access at the same time

ex : of one of my Patient swing windows

First Name last namestatus

jackBaker sick

XY ok

so all the users will see this information

any user can change the status of the Patient .Other users must see the changes directly

>

> If you use EJB, you have to learn the concept first.

> The newest version of EJB is 3.0. I would recommend

> EJB 2.0 to you. The book "Mastering EJB" is good and

> it is free on some website.

> You can also download the J2EE example from sun and

> try it on J2EE 1.4 server.

> I have experienced in J2EE 1.4 application server,

> weblogic and websphere server.

I will install one of these server to start learning it

thank you for ur help again

I will read the articles and come back to u later

Message was edited by:

linuxchild

linuxchilda at 2007-7-14 22:08:34 > top of Java-index,Java Essentials,New To Java...