Browsing articles in "Frameworks"
Jan
6
2009

Sending Email From Your Spring Application

The Spring Framework provides a helpful utility library for sending email that shields the user from the specifics of the underlying mailing system and is responsible for low level resource handling on behalf of the client. In my last project I have used spring mail functionality to send mail to the user. This is the simplest way so far I have found to send mail from spring application. Let us also assume that there is [...]

Dec
23
2008
DWR // J2EE // Java // Spring

Itegrating DWR (Direct Web Remoting) with Spring

Hi Springers, I have used DWR (Direct Web Remoting) in my last project which was pretty interesting and I want to share the simplest way of using DWR with spring application. Download the latest version of dwr.jar from here. And put it in the /WEB-INF/lib folder. I have used DWR 2.0.5. Add the following lines in your web.xml <servlet> <servlet-name>dwr-invoker</servlet-name> <display-name>DWR Servlet</display-name> <servlet-class> org.directwebremoting.servlet.DwrServlet </servlet-class> <init-param> <param-name>debug</param-name> <param-value>true</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>dwr-invoker</servlet-name> <url-pattern>/dwr/*</url-pattern> </servlet-mapping> Now [...]

Jul
26
2008

Ruby on Rails

Why don’t we try Ruby as the whole world is suffering from Ruby fever. As I thought I had started playing (here I used word ‘play’ because I became a fan of it) with Ruby on Rails. Firstly I started reading one of four books named ‘Springer Ruby on Rails for PHP and Java Developers’. The book is so good and in fact perfect for me as I know PHP and Java. There I found [...]