Home » Search

About Spring

11-20 of 91 Refresh
Tutorial
236

Step 7: Run the Spring Web App

/. This Spring web application can also run with GlassFish 3.0.1, with a small change in
Tutorial
219

Step 7: Run the Spring Web App

Shows how to run the NetBeans Spring MVC JPA web application.
Tutorial
211

Spring MVC JPA Tutorial - Eclipse Project

To open and run the  Spring MVC JPA tutorial project in Eclipse: Download and extract the project zip file: Spring MVC JPA - Maven Project (7KB). Open the Maven project in Eclipse: Select File > Import... > Maven > Existing Maven Projects and click Next. Select the guestbook- spring directory as Root
Tutorial
80

Step 1: Create a Maven Web Project

Name (e.g. Guestbook) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial. spring ... under Project Files in the [Project] window: To add dependency on the Spring MVC Framework and ObjectDB ... "> 4.0.0 com.objectdb.tutorial. spring Guestbook
Tutorial
77

Step 1: Create a Maven Web Project

project. To add dependency on the Spring MVC Framework and ObjectDB and to automatically download ... .0.0 com.objectdb.tutorial. spring Guestbook ... .springframework    spring-webmvc    3.0.5.RELEASE
Tutorial
70

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java ... name. The Package should be guest. Click Finish to create the new Spring Controller class. Now ... a Spring managed web controller using the @Controller annotation. A GuestDao component
Tutorial
70

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java ...  exactly that case sensitive class name. Click Finish to create the new Spring Controller class. Now ... is defined as a Spring managed web controller using the @Controller annotation. A GuestDao component
Tutorial
65

Step 5: Add a JSP Page

name. The Folder should be WEB-INF (to prevent accessing the JSP directly not through Spring). Click ... > <% } %>
Tutorial
65

Step 5: Add a JSP Page

(to prevent direct access to the JSP bypassing Spring). Enter guest as the jsp file name - use exactly ... .objectdb.com/pw.html? spring-eclipse" frameborder="0" scrolling="no" width="100 ... the previous step). The next step (and the last in this tutorial) is setting the  Spring XML configuration.
Tutorial
53

Step 2: Entity Class and Persistence Unit

is adding a Spring DAO Component class that will manage Guest entity objects.