Monthly Archives: May 2015

Is it mandatory to have the “id” property in Bean/ApplicationContext Xml


Typical Bean xml file looks like below: <?xml version=”1.0″ encoding=”UTF-8″?> <beans xmlns=”http://www.springframework.org/schema/beans&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd&#8221; > <bean class=”in.malliktalksjava.service.MyServiceImpl”> <property name=”repository” ref=”someDAO”/> </bean> <bean id=”someDAO” class=”in.malliktalksjava.dao.SomeDao”/> </beans> MyServiceImpl Bean is anonymous because no id is supplied explicitly. Thus Spring container generates a

Tagged with: , , , ,
Posted in Spring

Spring Core – Hello World Example


Pre Requisite : Download and install the Spring STS into your machine. This will provide all the default spring configurations whenever you create the project Application Creation Steps: Step 1: Spring Maven project in your STS. This gives the project

Tagged with: , , , , , , ,
Posted in Spring

Difference between ClassNotFoundException and NoClassDefFoundError


1. java.lang.ClassNotFoundException :  This exception indicates that the class was not found on the classpath. This indicates that we were trying to load the class definition, and the class did not exist on the classpath. 2. java.lang.NoClassDefFoundError :  This exception

Tagged with: , ,
Posted in JAVA

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 680 other followers

Calendar
May 2015
M T W T F S S
« Dec   Jun »
 123
45678910
11121314151617
18192021222324
25262728293031
Mallikarjun Gunda

This is Mallikarjun Gunda, I am working as a software professional. Blogging is my Passion. This blog contains the posts on Java related technologies and programming languages. I am happy to share my knowledge through the blogs.

Blog Stats
  • 219,758 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100
All tags
Apache Cassandra Arrays in Java Cassandra Cassandra Database Cassandra examples client stubs creating a java web service creating a web service using java difference between interface and abstract class Differences between SOAP and RESTfull webservices Display div as Overlay using JQuery download the spring basic application File directory Generating webservice client stubs Hibernate hibernate exceptions How to display over using JQuery how to generated web service client stubs in STS How to implement Spring basic application how to write singleton design pattern in java interface in java Java Java Arrays Java Example Programs Java examples Java interview questions java programs java project Java sample Programs JavaScript Java Script JavaServer Faces Java Sorting alogorithms Java Tutorials javatutorials Java Web services JDBC open shift openshift Overlay implementation using JQuery Overlay in JQuery POI API POI Examples public class public static void main Redhat OpenShift representational state transfer Restfull webservices Sample Overlay html with JQuery sample programs in java Service-oriented architecture Singleton design pattern in java SOAP SOAP Webservices software Spring Framework Spring Interview Questions Spring MVC Spring MVC Example program Spring MVC sample Program Spring Sample Programs Spring Tutorials Struts technology Top Java Interview questions w3c dom Web service web service client Web Service Description Language Web services webservices writing singleton design pattern in Java WSDL Xml xml parsers