- Wednesday, July 28, 2010, 18:41
- How-To, J2EE, Java
- 1,774 views
While using Maven as build tool in our project, I found it very difficult to create a Dynamic Web Project which supports
Maven dependencies and can execute in Eclipse! I have seen lot of people using Maven just as build tool and for local setup uses jar files in some /lib directory. I wanted to remove this dependencies on local /lib for jar files ...
Full story
- Wednesday, July 14, 2010, 18:20
- Spring, Tutorial
- 3,893 views
Welcome to Part 5 for Spring 3.0 MVC Series. In
previous article we saw how to configure Tiles framework with Spring 3 MVC application. We used org.springframework.web.servlet.view.tiles2.TilesConfigurer class in bean definition to define the tiles configuration file. This divided our HelloWorld Spring MVC application in sections such as header, footer etc.
In this part we will discuss about Internationalization (I18N) and Localization (L10N) in Spring ...
Full story
- Monday, July 12, 2010, 20:54
- How-To, Java
- 951 views
As a Java developer, lot of times I have to play around with file system. Sometimes I have to copy files/directories from one location to another; sometimes have to process certain files depending on certain pattern. In one of my test program, I wanted to calculate available disk space using Java. Lot of code snippets are ...
Full story
- Friday, July 9, 2010, 9:00
- How-To, Java
- 1,678 views
Here is a small but very useful tip that every Java programmer should be aware of. Have you ever tried sorting arrays in Java? Well, java.util.Arrays class has built in method to make your job easy. You can use following method to sort any array in Java.
import java.util.Arrays;
...
...
Arrays.sort (int )
Arrays.sort (float )
Arrays.sort (long )
...
Let us check an example were we will sort an array of ...
Full story
- Thursday, July 8, 2010, 17:50
- Spring, Tutorial
- 3,986 views
Welcome to Part 4 for Spring 3.0 MVC Series. In
previous article we saw how to create a form using Spring 3 MVC and display it in JSP. Also we learn about annotation @ModelAttribute.
In this part we will discuss about Tiles Framework and its Integration with Spring 3.0 MVC. We will add Tiles support to our HelloWorld Spring application that we created in ...
Full story
- Monday, July 5, 2010, 19:14
- Spring, Tutorial
- 4,048 views
Welcome to the Part 3 of Spring 3.0 MVC Series. In
previous article we created a Hello World application in Spring MVC. We leaned how to configure Spring MVC in web.xml and how to use different annotations like @Controller, @RequestMapping etc. In this article let us see how to handle forms in Spring 3.0 MVC.
We will use the framework that we created ...
Full story
- Tuesday, June 22, 2010, 12:46
- Spring, Tutorial
- 6,551 views
Welcome to the Part 2 of Spring 3.0 MVC Series. In
previous article we went through the Introduction of Spring MVC 3.0 framework, its request processing lifecycle and architecture diagram. In this article, let us create a simple Hello World application in Spring MVC 3.0.
For creating the hello world demo application, we will use Eclipse IDE.
Things We Need
Before we starts with our first ...
Full story
- Monday, June 21, 2010, 13:33
- Spring, Tutorial
- 6,632 views
Introduction to Spring 3 MVC Framework
Spring MVC is the web component of Spring's framework. It provides a rich functionality for building robust Web Applications. The Spring MVC Framework is architected and designed in such a way that every piece of logic and functionality is highly configurable. Also Spring can integrate effortlessly with other popular Web Frameworks like Struts, WebWork, Java Server Faces and Tapestry. It ...
Full story
- Friday, June 18, 2010, 18:25
- How-To, Java
- 774 views
If you are using Eclipse as your primary development IDE, then you may want to know about Code templates in Eclipse. Code templates are certain user defined (some are available by default) templates which can assist in rapid code writing. Not only code templates increase your code writing speed, but it also add consistency across the code.
To add a code template, all you need to ...
Full story
- Friday, June 18, 2010, 2:37
- News
- 123 views
Finally the much awaited version of the most popular blogging software has arrived. WordPress 3.0 release has been just announced. WordPress 3.0 is the result of six months of work from a total of 218 different contributors who have contributed for 1,217 bug fixes and feature enhancement. WordPress MU, the multi-user version of WordPress is now ...
Full story