Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help Needed Here EJB!!  RSS feed

 
sachin verma
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys I was stuck in a discussion with somebody.
I don't know if it was a fair discussion or not but our topic was something like XML Vs EJB.
Bad thing was for me that he did not know anything about EJB and i know XML a little.
He was defending XML with the statement that XML is the best thing where we need to exchange the information or say we need to fatch something from somewhere.
I told him that EJB has no competition in the market so far to fatch something in an OO way with the power of JAVA and the feature provided from the EJB container.
He said that if you go through 2 ways rather than straight forward, it is a matter of delay.
Our discussion is still pending with Dilemma.

Please help and please suggest me some good link to get this thing clear.

expecting some replies....

Sachin Kumar

 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sachin,
XML is a data format. EJB is not. They aren't the same and can't be compared.
 
sachin verma
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can somebody please tell me where XML is being used ?
please i need a tutorial for this !!
 
John Bengler
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sachin,

hard to find a suitable example for you, because XML is used everywhere..

You can even save your Microsoft Office documents as XML.

But as Jeanne wrote the primarily use of XML is exchanging data, e.g. via SOAP Webservice messages, in Message Queues or simply as XML files.

The advantage of XML is that the data is highly portable, I think for every modern programming languages there are libraries to compose XMLs and extract data for them.


On the other hand XML is not so common for data storage. For that usually relational databases are used, I think above all for performance issues.


There are some XML based database systems like Berkeley DB or Tamino, but I never saw one of those in productive operation...



John
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!