• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to pass XML String to EJB

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have a VB application which picks up the data from oracle database
and transforms that in a XML string and makes 2 XML string which have
the data for accounts and contracts of the client and then on the
other side we have a application which has front end in EJB stuff
and now the problem is we need to pass those 2 XML String in that
EJB application.
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Most certainly you will need an XML parser on the receiving end to strip the tokens off the XML string and make some sense out of them.
 
GurmeetS Bhatia
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
from where can i download xml parser for EJB.
how will it communicate....do i need SOAP

Originally posted by Ajith Kallambella:
Most certainly you will need an XML parser on the receiving end to strip the tokens off the XML string and make some sense out of them.


 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no such thing as XML Parser for EJB. There is just the XML parser. You can download JAXP from http://java.sun.com/xml/
and/or Xerces from http://xml.apache.org/xerces2-j/index.html.
The parser download also has some excellent example programs that can be used as a good starting point. Once you feel comfortable using the parsers, all you have to do is to simply integrate the parser utilization with your EJB code.
HTH
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
 
reply
    Bookmark Topic Watch Topic
  • New Topic