WebLogic Server 10 Technology Preview supports JEE 5. A feature of JEE 5 is
the Java API for XML Web Services (JAX-WS) used to create Web Services and
Web Service clients. WebLogic Server 10 provides the jwsc task to create the
Web Service artifacts and the clientgen task to create the artifacts for Web
Service clients. In this article we'll create an example JAX-WS 2.0 Web
Service in WebLogic Server 10 Technology Preview.
JAX-WS is an API to create Web applications and Web Services using the
XML-based Web Services functionality. To create a Web Service first create a
Service Endpoint Implementation (SEI) class. The implementation class is
annotated with javax.jws.WebService annotation. The implementation class must
not be abstract or final, and must contain a default public constructor.
A Web Service provides operations that are made available to Web Service
This article compares Document Type Definition (DTD) and XML Schema elements.
Java 2 Enterprise Edition (J2EE) developers use DTDs and schemas in J2EE/XML
applications. When a DTD for an XML document is provided and validation with
an XML Schema is required, the DTD-to-XML Schema conversion creates an XML
Schema document corresponding to the DTD document.
A DTD defines the structure of an XML document and defines a document's
element types, subelement types, and the order and number of each element
type. It also declares the attributes, entities, notations, processing
A J2EE application deployed in the WebLogic server may be debugged in the
Eclipse IDE with the remote debugger provided by Eclipse. Without a debugger
the error message has to be obtained from the application server error log to
debug the application.
With the remote debugger provided by Eclipse, exception breakpoints may be
added to the application file to debug. When an application is run in
WebLogic and the application generates an error, the application gets
suspended and the Eclipse IDE Debug perspective displays the error. In this
tutorial we will debug a WebLogic Applicat... (more)
The Apache Jakarta POI project provides components for the access and
generation of Excel documents. The POI HSSF API is used to generate Excel
Workbooks and to add Excel spreadsheets to a workbook. An Excel spreadsheet
consists of rows and cells. The layout and fonts of a spreadsheet are also
set with the POI HSSF API.
A database table is often required to be presented in an Excel spreadsheet.
Also, a developer's requirement could be to store an Excel spreadsheet in a
database table. The Apache POI HSSF project is an API to create an Excel
spreadsheet. The data in the Excel spr... (more)
XML documents can be used to transfer data. The data in an XML document can
be retrieved either with the JAXP (Java API for XML Processing) DOM and SAX
APIs, or with the JAXP XPath API. Addressing an XML document with XPath has
the advantage of selecting a single node directly without iterating over a
node set. In this article, we'll explore XPath support in Oracle
JDeveloper-XDK 11g. The article is a book extract from Packt Publishing's
Processing XML Documents in Oracle JDeveloper 11g.
With SAX and DOM APIs, node lists have to be iterated to access a particular
node. Another a... (more)