File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes JINI ARCHITECHTURE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JINI ARCHITECHTURE" Watch "JINI ARCHITECHTURE" New topic
Author

JINI ARCHITECHTURE

MAGESH
Greenhorn

Joined: Feb 06, 2001
Posts: 1
hai i downloaded jini from sun site.I read it. i Feel that JINI
MAY REPLACE SOME OF THE CONCEPTS OF EJB .
I WOULD LIKE TO KNOW WHICH IS BETTER AND EASY TO IMPLEMENT EJB OR JINI.
CAN ANYONE TELL ME AN REAL TIME PROJECT WHERE JINI WAS IMPLEMENTED.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
EJB is somewhat easier to implement right now, as there are a lot of available off-the-shelf EJB containers and value added application servers to choose from. With Jini at the moment you have to "roll your own".
Jini and EJB are really complementary rather than competetive. They cover different areas. EJB is all about encapsulating transactional access to databases and legacy systems in a structured and re-usable manner. Jini is all about amorphous networks which discover what they contain, and adjust to the appearance and disappearance of services dynamically.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Keith Edwards
Author
Greenhorn

Joined: Jan 02, 2001
Posts: 21
Originally posted by MAGESH GOVINDARAJAN:
I WOULD LIKE TO KNOW WHICH IS BETTER AND EASY TO IMPLEMENT EJB OR JINI.

Frank Carver already posted a great reply to this question, but I thought I'd add just a little more.
Jini and EJB are complimentary technologies--you could, for example, use Jini "behind the scenes" to interconnect backend EJBs together.
A couple of common scenarios that might indicate when or how to use Jini in an EJB scenario are:
- When you want to be able to dynamically add and remove EJB components, it may make sense to use Jini so that they can discover and use each other easily, with no prior configuration. Jini will let you add redundant components, and will allow components to come and go, all without explicit configuration on the part of the programmer or administrator.
- When you want a non-web front end to an EJB app, Jini can be a great way to connect your client application to your server. Not only can the client dynamically discover the server (allowing you to move it without reconfiguration), but the server also provides the client-side code necessary to use it. So there will never be any problems with the client and server getting "out of sync" version-wise.
There are more complicated scenarios, of course, but these are two of the most common.
Cheers,
-keith


------------------
Keith Edwards
xerox palo alto research center
author of: Core Jini
Which is also available as A Video Course
Read an Example Chapter - Chapter 3 or Chapter 10.


<a href="http://www.kedwards.com/jini" target="_blank" rel="nofollow">Keith Edwards</a><br />xerox palo alto research center<br />author of: <a href="http://www.amazon.com/exec/obidos/ASIN/0130894087/keithedwards" target="_blank" rel="nofollow">Core Jini</a><br />Which is also available as <a href="http://www.amazon.com/exec/obidos/ASIN/0130863866/keithedwards" target="_blank" rel="nofollow">A Video Course</a><br />Read an Example Chapter - <a href="http://www.javaranch.com/bunkhouse/samps/Core_Jini_chap3.pdf" target="_blank" rel="nofollow">Chapter 3</a> or <a href="http://www.javaranch.com/bunkhouse/samps/Core_Jini_chap10.pdf" target="_blank" rel="nofollow">Chapter 10</a>.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JINI ARCHITECHTURE
 
Similar Threads
JINI vs EJB
about jini??
KDK1.3 and JINI
Jini in simple words
distributed computing