snehaprashant.blogspot.com
Sneha's Blog: February 2009
http://snehaprashant.blogspot.com/2009_02_01_archive.html
Friday, 6 February 2009. Advanced JavaScript by Chuck Easttom. Few days before I started reading Advanced JavaScript Third Edition. It was very good book and I found the arrays chapter to be very interesting. I would like to share few quotations from the book. JavaScript’s design and concepts represent the next generation of software for the Internet. JavaScript is:. 1 Designed for creating network-centric applications. 2 Complementary to and integrated with Java. 4 Open and cross-platform. With JavaScri...
snehaprashant.blogspot.com
Sneha's Blog: May 2009
http://snehaprashant.blogspot.com/2009_05_01_archive.html
Thursday, 21 May 2009. Method C : Delegate Struts Action management to the Spring framework. Here we are going to delegate Struts action management to the Spring framework. All you have to do is. Note the changes in struts-config file. Orgapache.struts.validator.DynaValidatorForm. Orgapache.struts.action.ActionForward. Orgspringframework.web.struts.DelegatingActionProxy. Orgapache.struts.validator.ValidatorPlugIn. WEB-INF/validator-rules.xml,/WEB-INF/validation.xml. 1 As the action is under Spring's cont...
snehaprashant.blogspot.com
Sneha's Blog: Method A : Using Spring's ActionSupport Class to integrate Struts
http://snehaprashant.blogspot.com/2009/05/using-springs-actionsupport-class-to.html
Thursday, 21 May 2009. Method A : Using Spring's ActionSupport Class to integrate Struts. Here we are going to use Spring's ActionSupport class to integrate Struts. Action classes of Struts framework do not get started as Spring framework beans, thus cannot be wired through Dependency Injection. If the Action class wants to access beans of Spring framework, it has to access them manually. Auto-detects a ContextLoaderPlugIn context, falling back to the root WebApplicationContext. Struts.spring.emp...Strut...
snehaprashant.blogspot.com
Sneha's Blog: RMI using Spring
http://snehaprashant.blogspot.com/2009/05/rmi-using-spring.html
Thursday, 14 May 2009. Let us look at Spring’s support to Remoting. Spring supports remoting for several different Remote Procedure Call models, including Remote Method Invocation (RMI), Caucho’s Hessian and Burlap, and Spring’s own HTTP invoker. The client makes calls to the proxy as if the proxy were providing the service functionality. The proxy communicates with the remote service on behalf of the client. It handles the details of connecting and making remote calls to the remote service. Spring simpl...
snehaprashant.blogspot.com
Sneha's Blog: Integrating Spring with Struts
http://snehaprashant.blogspot.com/2009/05/integrating-spring-with-struts.html
Wednesday, 20 May 2009. Integrating Spring with Struts. Key to the Spring Framework is the freedom to choose what works best for your application. Spring offers you choices when building web applications, too. Although Spring offers its own very capable web framework, you are free to choose another if you’d like and still be able to take advantage of Spring in the other layers of your application. Advantages of integrating a Struts application into the Spring framework:. And here is the code for my bean,...
snehaprashant.blogspot.com
Sneha's Blog: September 2008
http://snehaprashant.blogspot.com/2008_09_01_archive.html
Wednesday, 24 September 2008. Truncate table irrespective of constraints. Today while doing my work I faced this problem and Iam very happy that I came to know new thing. I was trying to truncate the table irrespective of the constraints. Many times developers find it difficult to delete records from parent tables when child records reference those tables through foreign key (referential integrity) constraints. Constraints validate the data; without constraints, we are just storing invalid data. Creating...
snehaprashant.blogspot.com
Sneha's Blog: December 2008
http://snehaprashant.blogspot.com/2008_12_01_archive.html
Wednesday, 24 December 2008. Education and the Significance of Life by Jiddu Krishna Murthy. Just now i completed reading Education and the Significance of Life By Jiddu KrishnaMurthy. Nice book written by J.KrishnaMurthy. I want to share few qoutations from this book. What is the significance of life? What are we living and struggling for? If we are being educated merely to achieve. As long as education does not cultivate an integrated outlook on life, it has very little significance. The individual is ...
snehaprashant.blogspot.com
Sneha's Blog: June 2010
http://snehaprashant.blogspot.com/2010_06_01_archive.html
Wednesday, 16 June 2010. Ajax with Direct Web Remoting (DWR). This is my blog entry after a long time. Recently i have used ajax with dwr (Direct Web Remoting) and it was very useful. I would like to discuss the same this time. DWR allows the us to call server-side Java objects from javascript with a great ease. Using DWR you can call server-side Java objects from javascript directly, so you can eliminate entire request-response handling code. How to use it? Ensure you have dwr.jar in your classpath.
snehaprashant.blogspot.com
Sneha's Blog: August 2008
http://snehaprashant.blogspot.com/2008_08_01_archive.html
Thursday, 28 August 2008. Converts interface of a class into another interface that client expects. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces. This pattern is also known as Wrapper. There are two kinds of adapters. Before going deeper let us have a simple example. Consider the scenario where our legacy code that exposes the Enumerator interface, but we want our new code to only use iterators. Here EnumerationIterator is our Adapter. Iterator's next() me...