Why do we still need Spring Web Flow while we have good web frameworks already?
Spring Web Flow(SWF) focus entirely on the definition and execution of complex conversation in a web application, i.e. web application page flow.
Spring Tutorial Index Page Previous – Dependency Injection Next – Form Validation This article shows how to process form in Spring. In this program, a form submission module will be added. Specifically, we will use web form to add a new employee and show the new employee list. Step 1: Prepare Required Classes Add addEmployee … Read more
Spring Tutorial Index Page Previous: Hello World Next: Handling Form Submission In previous tutorial, we have seen how to create a simple Hello World Spring application using Maven under Eclipse. In the Hello World application, we used annotation. In this tutorial, I will show how to use xml configuration and setter dependency injection. Instead of … Read more
Java developers often rely on examples to learn Spring framework. Simple examples are often a key learning resource. There are many Spring MVC HelloWorld applications. However, most of them are outdated (do not integrate Maven, use old version of Spring, etc) or not complete (missing key steps or file hierarchy view). Therefore can not lead … Read more
Assuming you have created a dynamic web project under Eclipse, and you have tested your project, now you want to deploy the Spring project to a live server. The project runs on Tomcat and it interacts with MySQL database. How to correctly deploy your project? To deploy the project, you need to build a .war … Read more
As a web project runs on an HTTP server, a new server should be setup to hold the web project. Download Tomcat 7.0 here. Download the core Zip version, and unzip it to a directory (remember this directory). In your eclipse, create a new Server. Select the directory where you unzipped the tomcat. Run the … Read more
This article illustrates how to do a Spring Hello World by using Eclipse and Maven. You should install eclipse and maven plugin first. 1. Set up a Maven Project Create a Maven project by using the Wizard. GroupId identifies the project uniquely across all projects, so we need to enforce a naming schema. ArtifactId is … Read more
You may tried to install Maven plugin for eclipse and failed. The problem may be caused by the version. So to solve the problem, you can download a latest version of eclipse. The following shows how I install maven plugin for eclipse under Ubuntu. For Windows platform, it should be the same. Download Eclipse Kepler … Read more
Spring framework is difficult to learn, especially when you want to develop a real project with industry standards. Reading tutorials is a good way for learning at the beginning. But finally, you still need to read code from real projects. Luckily, there are some very good open source projects that use Spring framework. Here are … Read more
Latest Update: 2014/05/21 This post shows how to build a Spring Hello World application. The following are all steps required to make a Spring hello world program. 1. Set up development environment IDE: Eclipse IDE for Java EE Developers. The latest version is Eclipse Kepler (4.3.2). Here is the one you should download: 2. Create … Read more
Here is a good site about Spring MVC. http://maestric.com/doc/java/spring/hello_world I guess this is the right way to make a tutorial. While there are so many posts out there talking about Spring MVC examples, sample applications or tutorials, there is still a reason to make a new one. This is a good example that can make … Read more
Why do we still need Spring Web Flow while we have good web frameworks already?
Spring Web Flow(SWF) focus entirely on the definition and execution of complex conversation in a web application, i.e. web application page flow.
Although Java JNDI provides API for LDAP operations, but using JNDI normally need a lot of low-level programming work. Spring LDAP framework is a good way to do LDAP in Java. In this step-by-step guide, you will see how to connect to LDAP server and then search a user’s name using user’s ID. Before you … Read more