[22 Nov 2012 | 2 Comments | 16,059 views]

Project Description

  • In the previous Android example here we saw how to parse a simple XML using DOM parser.
  • This example shows how to parse a XML containing element attributes, multi level child nodes using Android DOM parser.

Environment Used

Read more…

[22 Nov 2012 | 5 Comments | 31,587 views]

Project Description

This Android code example shows how to parse a simple XML using DOM parser and display it in TextView.

Usually, we display the XML result in ListView or Spinner which is explained in tutorials Android: Parsing XML with Read more…

[22 Nov 2012 | One Comment | 8,315 views]

Project Description

  • In one of the previous Android example we saw how to parse a simple XML using SAX parser.
  • This example shows how to parse a XML containing element attributes, multi-level child nodes using Android SAX parser.
  • In this

Read more…

[21 Nov 2012 | No Comment | 6,911 views]

Environment Used

  • JDK 6 (Java SE 6)
  • EJB 3.x Stateless Session Bean
  • Eclipse Indigo IDE for Java EE Developers
  • JBoss Tools – for Eclipse Indigo
  • JBoss Application Server (AS) 7.1.0 Final

Setting up development environment:
Read this page for installing Read more…

[21 Nov 2012 | 2 Comments | 20,747 views]

Environment Used

  • JDK 6 (Java SE 6)
  • EJB 3.x Stateless Session Bean
  • Eclipse Indigo IDE for Java EE Developers
  • JBoss Tools – for Eclipse Indigo
  • JBoss Application Server (AS) 7.1.0 Final

Setting up development environment:
Read this page for installing Read more…

[21 Nov 2012 | One Comment | 21,122 views]
  • EJB3 Timer service allows you to write applications which enable timed notifications.
  • Timers are asynchronous and stateless hence can be used in all types of beans except stateful session bean.
  • There are other scheduling packages available for enterprise applications such

Read more…

[11 Nov 2012 | 10 Comments | 9,670 views]

Project Description

  • In the example provided here, we saw how to marshal and unmarshal CDATA block using JAXB RI by creating custom adapter class.
  • In this JAXB example we will see how to marshal and unmarshal CDATA block using

Read more…

[11 Nov 2012 | 4 Comments | 42,866 views]

Project Description

  • In this JAXB tutorial we will see an example on how to marshal and unmarshal CDATA block using Sun built-in default JAXB implementation, i.e.) JAXB Reference Implementation (JAXB RI).
  • CDATA sections may occur anywhere character data may occur;

Read more…

[10 Oct 2012 | 5 Comments | 68,393 views]

Project Description

  • In this JAXB example we will see how to marshall and unmarshall list of objects.

Environment Used:

  • JDK 6.
  • Eclipse Indigo IDE for Java EE Developers.

New project in Eclipse

Create a new Java project in Eclipse IDE Read more…

[10 Oct 2012 | 4 Comments | 24,641 views]

Project Description

  • In this JAXB tutorial we will see an example on how to marshal and unmarshal Java objects.
  • This example explains how to,
    • map Java object’s property to XML element’s attribute using @XmlAttribute annotation,
    • map Java object’s property that

Read more…