July 2007 Archives

Parancoe Development With NetBeans Tutorial

Here you can find a short tutorial on setting up up the environment for NetBeans 6 (M9) with windows XP, in order to work with Parancoe project.

I start from scratch. This is the simplest way to start using Paroncoe with Nebeans

3 Simple steps

  • download Netbeans
  • download the project using SVN
  • download the Maven2 plugins and … start using Parancoe

Download and install NetBeans v6 (M9)

install the standard edition (the basic edition lacks of some features) I tried also NetBeans 6 M10

Integrated support for SVN in NetBeans

NetBeans offers integrated support for SVN, the first time you have to download the entire project from svn.

Update Parancoe from SVN

Now is time to update the Parancoe code on the view Projects select the 3 project Parancoe ( pom) Parancoe Core (jar) Parancoe Web (jar) select on the context menu subversion and then update please check the proxy configuration

Continue Reading…

Posted by Paolo Foletto on Jul 25, 2007

Using Parancoe with Glassfish

All you need for deploying an application developed with Parancoe is a servlet/JSP container, for example Tomcat.

Sometimes you may need a full J2EE application server:
  • because your application need some AS services
  • because you ISP provide only a full J2EE AS and not a standalone Tomcat
  • ...I don’t know…. (tell me)

The opensource Glassfish could be a common choice.

The only thing you have to change is the database configuration…and of course the particularities of your application.

For example, suppose you want to configure Glassfish and your application for using a Java DB (Apache Derby) database. As this 100% Java DBMS is included in JDK 6 and in Glassfish, it could be a common growing choice.

Continue Reading…

Posted by Lucio Benfante on Jul 25, 2007

Starting a Web Project with Parancoe

Starting up your own project

You can start the development of a new Web application using the Parancoe Web Application archetype:

mvn archetype:create -DarchetypeGroupId=org.parancoe \     
    -DarchetypeArtifactId=parancoe-webarchetype \
    -DarchetypeVersion=0.3.3 \
    -DgroupId=com.mycompany \
    -DartifactId=testApp \

Of course you can personalize the groupId, artifactId and package. After the execution you’ll have a complete web project with a common good layout, configured authentication and authorization, some Parancoe examples. Starting from this skeleton you can personalize it for developing your own application.

Using the project with an IDE

The Parancoe web application archetype produces a Maven 2 project. Of course you can use it with your preferred IDE.

Setting up your Maven environment

The easyest way to develop a project with Parancoe is to use Maven 2 as build tool.

Parancoe artifacts are distributed through the Maven Central Repository and its mirrors. You don’t have to configure anything for using this repository.

If you are behind a proxy, check the Maven guide to using proxies to configure maven 2 with your proxy.

Continue Reading…

Posted by Lucio Benfante on Jul 25, 2007