About Jetty

page

JPA Tutorials

Tutorials for using JPA and ObjectDB in Eclipse and NetBeans (console applications, web application, Java EE 6 applications).... to run it on any servlet container (e.g. Apache Tomcat, Jetty, Caucho Resin), as well as on full application servers (such as Oracle ...

 
forum_thread

Cannot initialize db after inserting a java.util.List

Hi, I've spent some time trying to figure this out without success, so I'm asking for much appreciated help. I have an entity class like this: class Test { private List<String> list = new ArrayList<String>(); } I can persist and retrieve the obj just fine using standalone program, but whenever I access the db through a servlet container I get this error: objectdb.java.util.ArrayList cannot be cast to com.objectdb.spi.TrackableSysType This happens during EntityManagerFactory initialization.... org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) at ...

 
tutorial

Step 7: Run the Spring Web App

Shows how to run the NetBeans Spring MVC JPA web application.... you can run the web application using the embedded Maven Jetty plugin: Right click the project node and select Custom > Goals... Enter  jetty:run in the Goals field and click  OK . Open your browser at  ...

 
tutorial

Step 7: Run the Spring Web App

Shows how to run the Eclipse Spring MVC JPA web application.... you can run the web application using the embedded Maven Jetty plugin: Right click the project node and select ... As > Maven Build... Enter  jetty:run in the Goals field and click Run . Open your ...

 
tutorial

JPA Web App Tutorial - Maven Project

The JPA Web Application tutorial for Tomcat / Jetty as a Maven project (download & run).... Java/JPA database driven web application (for Tomcat / Jetty) in  Eclipse or  NetBeans . Building a new ... from the command line by: > mvn package jetty:run The current directory should be  guestbook-web ...

 
tutorial

Spring MVC JPA Tutorial - Maven Project

The Spring MVC JPA tutorial for Tomcat / Jetty as a Maven project (download & run).... from the command line by: > mvn package jetty:run The current directory should be  guestbook-spring ... pom.xml file) and port 8080 has to be available for the Jetty embedded server. No need to download and install ObjectDB or a Java ...

 
tutorial

JPA Web Application Tutorial

This tutorial demonstrates how to create run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA. This tutorial demonstrates how to create and run a database driven Java web application using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. ...

 
tutorial

Eclipse/JPA Web Application Tutorial

Step by step tutorial that demonstrates how to build a simple database web application (with Servlet and JSP) in Eclipse using JPA. This is the Eclipse version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic g ...

 
tutorial

NetBeans/JPA Web Application Tutorial

Step by step tutorial that demonstrates how to build a simple database web application (with Servlet and JSP) in NetBeans using JPA. This is the NetBeans version of the  JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in NetBeans - using Tomcat 6 Apache Tomcat Server 6.0  ( some modifications ar ...

 
forum_thread

How to resolve 404 errors with Eclipse/Maven Spring MVC

I have created a project as guided by www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I abandon eclipse and use the maven command line to deploy this Spring MVC web app to jetty and point my browser to localhost:8080/Guestbook/ it works as your tutorial says! ... maven command line to deploy this Spring MVC web app to jetty and point my browser to localhost:8080/Guestbook/ it works as your ... run with tomcat 6. Both versions will run with "mvn> jetty:run". Thank you (very much!) for taking a look at it! ...