Fullasagoog

Show all feed information | Ping Blog Update

Struts 2 Global Exception Handling With Logging 3 years ago

Introduction One of the perks of my current job is I work with a pretty smart group of Java developers. Jeff Day, one of the programmers here at KU, showed me how to enable logging when using Struts 2's global exception handling mechanism. [More]
keywords exception handling, java, java developers, job, programmers

Using JUnit To Test A Struts 2 Action Class In An Application That Also Uses Spring 3 years ago

Introduction In my Struts 2 web applications, I'm now using Spring to manage class relationships. Creating unit tests for a Struts 2 ActionSupport class in an application that also uses Spring can be difficult. Fortunately, there is a Struts 2 plugin available that makes it easier to …
keywords java, junit, unit tests, web applications

A Struts 2, Spring, and Hibernate Example Application 3 years ago

Introduction I was learning Hibernate as another methodology for storing my Java objects' state in a data repository. I wanted to experiment with integrating Hibernate into a Struts 2 and Spring application so I created an example of using the three technologies together. The …
keywords application introduction, data repository, example application, frameworks, java, java developers, java objects, methodology, web applications

Using Spring 3.0 To Create An Embedded In-Memory Database In Your Java Application 3 years ago

Introduction At a Spring training conference, I learned about a new feature in Spring 3.0 that makes it very easy to create an embedded database to run in your Java application. The Spring 3.0 documentation provides a good summary of why developers may want to use an embedded database: …
keywords application introduction, database application, developers, java, java application, new feature, startup time

Loading Multiple Java Property Files Using Spring 3 years ago

Introduction I had to load properties from two different property files in a Java Spring project. Since I had not done that before and I'm a Spring newbie, I did some research in the Spring documentation. I found out that Spring provides a very easy to use methodology to load …
keywords java, java application, java files, java project, methodology, nbsp, property values

Using Spring JDBC To Interact With A Database 3 years ago

Introduction For a new project I'm working on I'm using Spring JDBC ( http://static.springsource.org/spring/docs/2.5.x/reference/jdbc.html ) to interact with the database.  Spring JDBC provide numerous benefits over using traditional JDBC.  Once you learn the methodology of using …
keywords development time, java, java objects, jdbc, methodology

Unit Testing Jersey RESTful Web Services That Also Use The Spring Framework 3 years ago

Introduction In a previous blog article I described how you can integrate Jersey RESTful web services and the Spring framework . I ended that article with a note that I needed to do further research into how to write unit tests for the web services that depend on the Spring framework …
keywords demo application, ea, java, sample test, spring framework, test framework, unit tests, web service

Using Jersey (RESTful Web Services) and Spring (Dependency Injection) Together 3 years ago

Introduction I worked on a project that uses Jersey RESTful web services that depend on other classes to do the actual work. For example a web service that uses a data access object to get information out of a data repository. Since I like to use Spring to manage dependencies between …
keywords data access object, data repository, dependencies, java, nbsp, web service

Unit Testing A Struts 2 Action Class - Struts 2 JUnit Plugin 3 years ago

Introduction In my previous article on unit testing Struts 2 Action classes I discussed and demonstrated how to write unit tests that used classes provided by some other developers. After researching unit testing Struts 2 further, I found out that the next release of Struts 2 will …
keywords apache, asf, confluence, developers, java, junit, repository, subversion, svn, target, unit tests

Book Review ? Apache Struts 2 Web Application Development 3 years ago

DISCLOSURE :  I received a free copy of the book from Packt Publishing in return for agreeing to write a review.  I also know the author, Dave Newton, from his frequent and very useful contributions to the Struts 2 user mailing list.  Dave also helped me on a Struts 2 ? Jasper Reports …