• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Help Needed Here EJB!!

 
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
author & internet detective
Posts: 42056
926
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can somebody please tell me where XML is being used ?
please i need a tutorial for this !!
 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic