TheaSolutions Java JEE code snippets and Tutorials

Blogs providing code snippets and tutorials

Part 2 - Setup web application using JBoss Seam Ne...

Karthik's weblog maven hibernate | JBoss-Seam | Saturday October 11, 2008 | By Karthik

This is a continuation of the entry http://www.theasolutions.com/roller/karthik/entry/setup_web_application_using_jboss Now we make the following assumptions. Hibernate will be used as the JPA implementation provider. The page navigation rules are to be...

Tutorial to develop Contract First webservice usin...

Karthik's weblog maven java | webservice | Saturday September 27, 2008 | By Karthik

In this short tutorial let us discuss how to develop a contract first webservice using Apache CXF.   Let us consider the scenario where the webservice accepts employee id and the year as input and returns the employee name and the number of hours...

Unmarshal XML into Java using JAXB

Karthik's weblog jaxb maven xml | Java | Friday September 26, 2008 | By Karthik

The xml file under consideration is employee.xml which is as below. <?xml version="1.0" encoding="UTF-8"?> <employee xmlns="http://ts.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...

How to generate Java files from XSD using JAXB and...

Karthik's weblog maven jaxb | Java | Thursday September 18, 2008 | By Karthik

This post explains how to generate Java files from XSD using JAXB and Maven. I have created a simple Maven web application project and placed the XSD files under src\main\xsd folder of the root of the Maven project. The pom.xml is as given below. ...

Simple file upload tutorial using Apache Commons f...

Karthik's weblog maven | JEE | Tuesday September 09, 2008 | By Karthik

This post is for beginners who want to use Apache commons fileupload to upload files. Maven is used for build and dependency management. Note: I have specified the context root of the web application as cfp We start with the index.jsp that provides the...

NetBeans 6.1 and 6.5 workaround - Servlet API clas...

Karthik's weblog maven | IDE - NetBeans and Eclipse | Thursday August 14, 2008 | By Karthik

When we import existing Maven projects or create a new Maven project using Mevenide plugin in NetBeans 6.1 or NetBeans 6.5 Beta and then open a JSP, we get the following message at the bottom of the editor Servlet API classes are not on the classpath , some...

Repository to be added for 'org.netbeans.plugins:n...

Karthik's weblog maven | IDE - NetBeans and Eclipse | Thursday August 14, 2008 | By Karthik

Please add the following repository when you get the error   Unable to build project for plugin 'org.netbeans.plugins:netbeans-deploy-plugin': POM 'org.netbeans.plugins:netbeans-deploy-plugin' not found in repository: Unable to download the...

NetBeans 6.5 Beta Missing Plugin org.netbeans.plug...

Karthik's weblog maven | IDE - NetBeans and Eclipse | Thursday August 14, 2008 | By Karthik

Installed Mevenide 4.0.2 plugin and tried to run the Maven projects. But got the error   Error message:Failed to load plugin. Reason: Unable to build project for plugin 'org.netbeans.plugins:netbeans-deploy-plugin': POM 'org.netbeans.plugins:ne...


Combined RSS feed for site. Right-click, copy link and paste into your newsfeed reader

Search for blogs