This week's book giveaway is in the Java in General forum.
We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line!
See this thread for details.
Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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: 40912
840
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic