background preloader


Facebook Twitter

iBATIS, Hibernate, and JPA: Which is right for you? Object-relational mapping in Java is a tricky business, and solutions like JDBC and entity beans have met with less than overwhelming enthusiasm.

iBATIS, Hibernate, and JPA: Which is right for you?

But a new generation of ORM solutions has since emerged. These tools allow for easier programming and a closer adherence to the ideals of object-oriented programming and multi-tiered architectural development. Learn how Hibernate, iBATIS, and the Java Persistence API compare based on factors such as query-language support, performance, and portability across different relational databases. In this article we introduce and compare two of the most popular open source persistence frameworks, iBATIS and Hibernate. We also discuss the Java Persistence API (JPA). If you are a beginning Java programmer new to persistence concepts, reading this article will serve as a primer to the topic and to the most popular open source persistence solutions.

There are different ways to achieve persistence. Spring MVC Fast Tutorial. Short and quick tutorial.

Spring MVC Fast Tutorial

Good work.... Tas Feb 18, 2008 #1 This a very good tutorial. Thanks for sharing it. :) Cristóbal Jul 11, 2008 #2 Thanx for sharing it.I am looking for short and easy tutorial of spring.Is there ne tutorial in same way for hibernate? Jaydit chitre Jul 17, 2008 #3 Nice tutorial! Ven Jul 22, 2008 #4 If after reading this excellent introduction you are looking for more Convention over Configuration for SpringMVC take a look at I have put there my findings about it so far. Nestor Urquiza Sep 23, 2008 #5 Thanks for the tutorial made my day ~N Narayan Iyer Sep 29, 2008 #6 This tutorial is great.

Lenni Ehrenfried Sep 30, 2008 #7 Ist excellent tutorial! Arris Oct 31, 2008 #8 iam using tomcat6.1 myeclipse when am i running the example its not support fot can tell me the resion please subhash Nov 29, 2008 #9 Great Job ! Mireofsoul Nov 29, 2008 #10. How to learn Spring Framework - Quora. XMPP IM with Smack for Java applications – Infrastructure for Instant Messaging. This tutorial is the third part of the “Setting up an infrastructure for Instant Messaging” article series.

XMPP IM with Smack for Java applications – Infrastructure for Instant Messaging

In my previous tutorials, I showed you how to setup the Openfire IM Server and how to configure the Spark client in order to connect to that server. In this tutorial, I will show you how to add XMPP messaging capabilities to your own application. I will use the Smack library, an Open Source XMPP (Jabber) client library for instant messaging and presence.

Smack is a pure Java library and can be embedded into your applications to create anything from a full XMPP client to simple XMPP integrations. XMPP is a simple XML protocol. First download the library from the Ignite Realtime site. Create a new Eclipse project, let’s say under the name “XMPPProject”, and add the “smack.jar” and “smackx.jar” files into your classpath. The main class that your client will use is XMPPConnection. From a valid XMPPConnection, you can retrieve a ChatManager object. That’s all! Happy coding!!! Processing.js. 7 New Tools Java Developers Should Know. JClarity – Performance Monitoring Launched last September, JClarity is now offering two products around Java performance: Illuminate and Censum.

7 New Tools Java Developers Should Know

Illuminate is a performance monitoring tool, while Censum is an application focused on garbage collection logs analysis. More than just collecting data or visualizing it, both tools provide actionable insights to solve the issues they detect. “What we want to do is to move the problem from data collection to data analysis and insight” – JClarity Co-Founder Ben Evans. Key features: Bottleneck detection (Disk I/O, Garbage Collection, Deadlocks, and more).Action plan – Recommendations to solve the problem, such as “The application needs to increase the number of active threads”.Explanation – Defining the problem in general and the common causes for it, for example “A high percentage of time spent paused in GC may mean that the heap has been under-sized”. Bintray – Social Platform for Binaries Librato – Monitoring & Visualization Cloud Services. Thymeleaf: java XML/XHTML/HTML5 template engine.

Spark - A small web framework for Java.