Sambhashanam
तकनीकी संभाषणम्
Navigation
  • Microsoft Technologies
  • Java Technologies
  • LAMP Technologies
  • Opensource
    • Microsoft Opensource
    • LAMP Opensource
    • Java Opensource
You are here: Home › Page 2

Abstract Classes and Pure Virtual Functions

October 23, 2013 | Filed under: Microsoft Technologies

In this article we will be discussing abstract classes, and how they are implemented in C#. The first part of the article will define abstract classes and describe how to use them as tools for Object Oriented Design (OOD). Simply stated, an abstract class is a class which does not fully represent an object. …

How to stop multiple login by single user in .NET 1.1

October 9, 2013 | Filed under: Microsoft Technologies

It is common feature that a user can use his/her credentials to login in multiple browser and multiple devices simultaneously. But in many cases business owners wants to restrict them. I  have implemented the same in one of my site which is running on .NET framework 1.1 First create a …

Spring, JPA and Hibernate integration tutorial

August 20, 2013 | Filed under: Java Opensource, Java Technologies, Opensource

I am going to setup a simple project using maven and run the one Junit test case using Spring, JPA and hibernate. Step 1: Create the maven project and create the pom.xml The pom.xml will look like below: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>spring-jpa-hibernate-integration-by-sambhashanam</groupId> <artifactId>spring-jpa-hibernate-integration-by-sambhashanam</artifactId> <version>0.0.1-SNAPSHOT</version> <name>spring-jpa-hibernate-integration-by-sambhashanam</name> <description>spring-jpa-hibernate-integration-by-sambhashanam</description>   …

Link on Image with hidden URL link

August 4, 2013 | Filed under: Framework, LAMP Opensource, LAMP Technologies, Opensource

Hello Friends, Yesterday I was working on cakephp 1.3.6 based project and come to a point that “How to put an image in your views and also give link on that image. When the user brings mouse pointer on it, he must not be able to see the url. Also …

spring hibernate integration

Spring and Hibernate integration tutorial

August 1, 2013 | Filed under: Java Opensource, Java Technologies, Opensource

I am going to setup a simple project using maven and run the one Junit test case using Spring and hibernate. Step 1: Create the maven project and create the pom.xml The pom.xml will look like below: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>spring-hibernate-integration-by-sambhashanam</groupId> <artifactId>spring-hibernate-integration-by-sambhashanam</artifactId> <version>0.0.1-SNAPSHOT</version> <name>spring-hibernate-integration-by-sambhashanam</name> <description>spring-hibernate-integration-by-sambhashanam</description>   <properties> …

JAX-WS web service on Tomcat

July 29, 2013 | Filed under: Java Opensource, Java Technologies, Opensource

Yesterday, one of my friend was struggling with developing a web service on tomcat. I promised him a sample web service code on tomcat and here it is! Step 1: Set up project 1.1. Create a dynamic web project in eclipse 1.2. Create a server run time and attach it …

Setup and run first sample process using activiti

July 28, 2013 | Filed under: Java Opensource, Java Technologies, Opensource

I was learning activiti from last couple of days. This weekend, I thought to give it a try. I developed a very simple workflow consisting of one Human Task and one Service Task to start with. The workflow looks like below: I wanted to setup and execute the sample using …

Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.NoUniqueBeanDefinitionException

July 28, 2013 | Filed under: Java Opensource, Java Technologies, Opensource

If you are getting below exception, you have done a funny mistake 🙂 did not add spring beans in the dependency: java.lang.NoClassDefFoundError: org/springframework/beans/factory/NoUniqueBeanDefinitionException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethods(Unknown Source)java.lang.NoClassDefFoundError: org/springframework/beans/factory/NoUniqueBeanDefinitionException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethods(Unknown Source) Just add below dependency and you are done! …

Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.orm.hibernate.HibernateTransactionManager] for bean with name ‘transactionManager’ defined in URL ….; nested exception is java.lang.ClassNotFoundException: org.springframework.orm.hibernate.HibernateTransactionManager

July 28, 2013 | Filed under: Java Opensource, Java Technologies, Opensource

If you are getting exception like below: Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.orm.hibernate.HibernateTransactionManager] for bean with name ‘transactionManager’ defined in URL ….; nested exception is java.lang.ClassNotFoundException: org.springframework.orm.hibernate.HibernateTransactionManagerCaused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.orm.hibernate.HibernateTransactionManager] for bean with name ‘transactionManager’ defined in URL ….; nested exception is java.lang.ClassNotFoundException: org.springframework.orm.hibernate.HibernateTransactionManager Just add …

Test Spring Bean with Junit and loading bean definition xml

July 28, 2013 | Filed under: Java Opensource, Java Technologies, Opensource

While testing Spring beans we often need to load the spring bean configuration file and inject beans into Junit Test class. Below two annotations will come handy: @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration The usage of the annotations are shown in below example: /** *These two annotation will help you loan */ @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations={"/spring-config/beans.xml"}) …

← Previous Page
Next Page →

Authors

  • Dhananjay Jha
  • Manish Kumar
  • Sushil Pandey

Recent Comments

  • muhammad on Mail merge in java for Microsoft Word document – Part I
  • muhammad on Mail merge in java for Microsoft Word document – Part I
  • Dhananjay Jha on Mail merge in java for Microsoft Word document and convert to PDF without iText – Part II
  • Clyde Symonette on Mail merge in java for Microsoft Word document and convert to PDF without iText – Part II
  • Dhananjay Kumar Jha on Mail merge in java for Microsoft Word document and convert to PDF without iText – Part II

Tag Cloud

.net activiti activiti-spring activiti bpmn C# change sender mail id in wordpress class classloader Conver MS Word to PDF disable user wordpress dox4j glassfish http response compression java Java Mail Merge MS Word javascript confirmation link on image jax-ws on tomcat jax-ws webservice Jee JTS junit junit-spring Link on Image with hidden URL link load spring configuration load spring configuration xml junit maven maven build Merge MS Word using Java Merge Word Document using XdocReport OOPS oracle weblogic PDF conversion using docx4j php mail function sample activiti process with human task and service task sending mail with attachment spring-orm spring framework spring hibernate spring hibernate integration spring jpa spring jpa hibernate integration tomcat jax-ws web service wordpress wordpress sender email

Looking for old post?

© 2021 Sambhashanam