Link to home
Start Free TrialLog in
Avatar of txholdem
txholdem

asked on

Do I need J2EE?

I will credit all helpful comments. I can also increase the points depending on your comments.

I would like to know if my project which is using J2SE can benefit from J2EE. My understanding is that J2EE probably have encapsulated some common low-level functions that I would have to program myself if using J2SE? Following is a description of my project.

An NT running a testing software distributes computation tasks across PC networks. The project is kinda similar to the project SETI (Search for Extraterrestrial Intelligence). "Clients" connecting to the NT server notifies the server that they are available when their screen savers kick off. The server then assigns a task to the client, telling them to run a specific program on a shared drive. The clients notify the server again when finished.

I am doing this using very simple socket programming. I plan to switch to CORBA using Java IDL. Does it make sense to move to J2EE from J2SE? pros and cons? The project might be simple now. What do you see for future enhancement?

Thanks.

Avatar of megloff
megloff

I don't think so that your application will need an Enterprise Server. The most beatiful thing about J2EE are the three level architecture. So it depends what you are doing with your received data from your clients on your nt server. If you wish to had at further time a presentation, business and data layer then it would be a great thing to use j2ee.

If you don't want using CORBA or direct Socket programming. The simpler thing is to use Java RMI. If this is too little for your future plans then you should go up and using enterprise beans. For this you need j2ee (not for RMI). Good book about the overview of j2ee is "Java server Programming" ISBN 1-861004-65-6.If you don't want spend money on books then have a look about the turtorial of j2ee tutorial at javasoft. If you decide to use j2ee make sure you have enough time and enough people which could help you to do this. It wouldn't be easy but nice ( have a look at the tutorial and you will see what I mean).
ASKER CERTIFIED SOLUTION
Avatar of Jim Cakalic
Jim Cakalic
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of txholdem

ASKER

There is CORBA and RMI with J2SE. What's different with the CORBA and RMI in J2EE?
Nothing. But this emphasizes the difference between the delivery of technology implementations (which J2SE does) and the specification of a family technologies that must interoperate or be integrated to enable the development of enterprise solutions (which J2EE does). Although Sun provides a reference implementation of J2EE technologies, it is not their intent that this implemenation be used in construction and deployment of commercial systems. Rather like they provide the JDBC-ODBC bridge but strongly discourage its use for anything more than trivial applications. Instead, Sun expects that application server vendors will provide conforming implementations of the J2EE specification. In such implemenations, the RMI implementation provided by Sun would likely be utilized but each vendor could provide their own CORBA ORB.

Jim
>If you wish to had at further time a presentation, business and data layer then it would be a great thing to use j2ee.

How does this layer work, e.g. a data layer? Is this like a computer connected to both the server and clients? How do I apply J2ee in this situation?

We are using an intranet shared drive now for the data. Is speed going to be a problem if the data is on a machine on the Internet?