Home Overview Demos/Webs News Download/Install Docs/Support Investors/Partners Commercial Tutorial: Simple ItsNat (Core) Application Tutorial: Simple ItsNat (Core) STATELESS Application Tutorial: Single Page Interface SEO Compatible Web Site With ItsNat STATEFUL Using HASHBANGS Tutorial: Single Page Interface SEO Compatible Web Site With ItsNat STATELESS Using HASHBANGS Tutorial: Single Page Interface SEO Compatible Web Site With ItsNat STATEFUL Using HISTORY API Tutorial: Single Page Interface SEO Compatible Web Site With ItsNat STATELESS Using HISTORY API Tutorial: Hybrid Client-Server Centric Programming
Download, Installation & Getting Started

spiral Download


Download
How to Install and Run the Feature Showcase
What does a new ItsNat based web application need?
How to configure ItsNat with Spring

The ItsNat Distribution includes binaries, javadoc, manual and the ItsNat Feature Showcase demo.

DOWNLOAD


Current version is 1.4   (all releases)


Overview of New Features


Release Notes    (Old Release Notes, versions <= 1.0)


Browse Source Code at GitHub


Artefacts are uploaded to JCenter (direct) and Maven Central (direct) repositories

Maven:

<groupId>org.itsnat</groupId>
<artifactId>itsnat_server</artifactId>
<version>(version)</version>
<type>jar</type>    
    

spiral How to Install and Run the Feature Showcase

Decompress the ItsNat distribution .zip file. ItsNat distribution is a Netbeans web project, this web application is the Feature Showcase, an ItsNat based web application with a lot of examples including online source code and explanations showing the main features and components of ItsNat.

The Feature Showcase is an ItsNat based JVM 1.6 web application. It is Maven based and can be running in NetBeans out of the box, it just needs a JVM 1.6 compatible servlet engine, furthermore ItsNat has its own templating system and no JSP engine is needed.

To quickest way to execute (run or debug) the "Feature Showcase" example with NetBeans, is through the file run.html as shown in the figure:

Run From NetBeans

Or start the application server and load the main page with this URL:

http://localhost:8080/itsnat_featshow

This web application is very useful to show how a complex ItsNat application can be developed. All of examples include the source code, this is the reason Java source code of this web application is below WEB-INF, because you can see the source code of examples through the application UI shown to the user as documentation. Of course this is not a usual location of source code (Java source code is not usually included in a web application .war file), other ItsNat examples in ItsNat repositories are more conventional.

The itsnat_featshow/pom.xml is an example of the required dependencies to run a ItsNat based web application.

The folder itsnat_featshow/target/itsnat_featshow-1.0-SNAPSHOT/WEB-INF/lib contains the libraries required by any ItsNat based web application (resolved by Maven).

If you want to execute the Feature Showcase example as a “production ready” Java web application outside NetBeans, pick the file itsnat_featshow/target/itsnat_featshow-1.0-SNAPSHOT.war, and deploy in your application server.


spiral What does a new ItsNat based web application need?

Create a new web application using your favourite IDE.

If you are not going to use Maven (or Gradle) the folder itsnat_featshow/target/itsnat_featshow-1.0-SNAPSHOT/WEB-INF/lib of the ItsNat distribution, contains the libraries required by any ItsNat based web application (resolved by Maven).

The ItsNat jar is uploaded to Maven Central and JCenter. When using Maven you must add the following to <dependencies> (ItsNat v1.4):

        <dependency>
            <groupId>org.itsnat</groupId>
            <artifactId>itsnat_server</artifactId>
            <version>1.4</version>
        </dependency>

        <dependency>
            <groupId>com.innowhere<</groupId>
            <artifactId>relproxy</artifactId>
            <version>0.8.7</version>
        </dependency>

        <dependency>
            <groupId>org.apache.xmlgraphics</groupId>
            <artifactId>batik-dom</artifactId>
            <version>1.7</version>
        </dependency>

        <dependency>
            <groupId>org.apache.xmlgraphics</groupId>
            <artifactId>batik-xml</artifactId>
            <version>1.7</version>
        </dependency>

        <dependency>
            <groupId>org.apache.xmlgraphics</groupId>
            <artifactId>batik-util</artifactId>
            <version>1.7</version>
        </dependency>

        <dependency>
            <groupId>net.sourceforge.nekohtml</groupId>
            <artifactId>nekohtml</artifactId>
            <version>1.9.12</version>
        </dependency>

        <dependency>
            <groupId>xalan</groupId>
            <artifactId>serializer</artifactId>
            <version>2.7.1</version>
        </dependency>



        <dependency>
          <groupId>javax.servlet</groupId>
          <artifactId>servlet-api</artifactId>
          <version>2.5</version>
          <scope>provided</scope>
        </dependency>

        <dependency>
          <groupId>javax.servlet.jsp</groupId>
          <artifactId>jsp-api</artifactId>
          <version>2.1</version>
          <scope>provided</scope>
        </dependency>

    

This pom.xml is an example of a Java EE 5 project configuration (ItsNat v1.4)

In Google App Engine you must use the jar gae/lib/batik-dom-gae.jar included in ItsNat distribution file, instead of batik-dom.jar downloaded by Maven.

To create a simple ItsNat AJAX application in minutes read the tutorial Simple ItsNat (Core) Application.

In the support section the Reference Manual and JavaDoc gives you a deep knowledge about the framework.


spiral How to configure ItsNat with Spring

The following example is a web application configured with Spring, most of the code is generic and can be reused in any ItsNat project.

Slides "How to configure with Spring an api not based on Spring" about this example in support section.




Terms of Use Privacy Statement Contributor Agreement Add to deli.cio.us Single Page Interface logo ItsNat logo Innowhere logo