Welcome!

Ajay Vohra

Subscribe to Ajay Vohra: eMailAlertsEmail Alerts
Get Ajay Vohra via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Ajay Vohra

The JBoss open source application server is commonly used in the development phase of a J2EE project. In the production phase the commercial BEA WebLogic server is preferred because of its enhanced set of features. Without modifications, an application developed in JBoss does not deploy in WebLogic server. The deployment descriptors for the WebLogic server are different from the JBoss deployment descriptors. An application may be migrated to WebLogic by converting the vendor-specific deployment descriptors to WebLogic. In this tutorial an EJB application developed in JBoss will be migrated to WebLogic with MySQL as the database. Preliminary Setup Download and install the BEA WebLogic server (www.bea.com/framework.jsp?CNT=overview.htm &FP=/content/products/weblogic/server). Create a server domain. Download the MySQL JDBC driver JAR file (www.mysql.com/products/conn... (more)

WebLogic Tutorial: "Integrating Apache Poi in WebLogic Server"

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)

SimpleType and ComplexType in a Schema

This tutorial discusses the simpleType and complexType XML Schema structures and their corresponding representations in an XML document. XML Schema is used as the basis of an XML document structure, and some of the XML technologies, such as JAXB, are based on XML Schema. Overview An XML Schema is an XML-based representation of the structure of an XML document. XML Schema supports data types and namespaces; a DTD does not. In this tutorial, the simpleType and complexType structures used to represent a XML document will be discussed. SimpleType Declaration SimpleTypes are custom da... (more)

Transforming XML-to-XML or -Text or -HTML

The Extensible Stylesheet Language Transformations (XSLT) specification provides for morphing XML documents into other XML documents. An XML document can also be transformed into a format other than XML such as HTML or text. An XSLT processor is required for an XSLT transformation. Some of the commonly used XSLT processors include Xalan-Java, Oracle XSLT Processor for Java and the JAXP XSLT transformer. A stylesheet is used to transform an XML document. The elements of a stylesheet are in the XSLT namespace http://www.w3.org/1999/XSL/Transform. With XSLT an XML document may be c... (more)

Configuring Eclipse for Remote Debugging a WebLogic Java Application

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)