In this post I show how simple is to integrate mybatis and spring framework.
The requirements are:
Spring Framwork 3.0.5 + dependencies
Mybatis 3.0.3 + dependencies
CoreJavaBeans1.0.1 + dependencies
First of all, let's define a model bean:
<span class="line-number"> 1</span> <span class="comment">/*...
on Dec 23, 2010
Web Development Tools
I have just released a plugin for Scripting in Grails. It basically let you create Groovy scripts as CRUDs, so you can use them for dynamic behaviors. This is a first release, so feel free to send feedback for future improvements.
If you want to learn more about how to create plugins for Grails, check this link.
Merry Xmas and Happy New Year...
on Dec 20, 2010
I was recently asked the question: Rails or Grails? I needed to summarize the key differences and industry sentiment. This was my response.
Before I make any subjective comments, let me start with some objective metrics I found:
Now for my sentiments, I believe there are three key-dimensions: momentum, cloud-support, and people.
Rails has the...
on Dec 2, 2010
As you may have noticed, Oracle’s java.net collaboration site is undergoing an infrastructure provider change. More details on this can be found on Sonya Barry’s blog. For Mojarra JSF, this transition is only partially complete. I plan to publish a new entry (and update the Spec and Mojarra JSF FAQ files) when it’s all done describing everything you need to know to...
on Dec 2, 2010
In my last blog entry, I described VideoSharing which is an application that uses Web sockets to remote UI events and enable participants to control HTML5 video players remotely. Today, I'd like to share with you a similar type of collaboration application, but this time one that uses other HTML5 features: namely, 2D canvases and client SQL databases. The name of this application is...
on Oct 14, 2010
It's been several months since my last blog! I have recently re-joined the Glassfish team at Oracle and I'm currently looking at Web tier technologies like Web sockets and HTML5. In this blog, I'd like to show you a simple Web application in which you can control an HTML5 video object remotely. The basic idea is to intercept video events like 'play', 'pause' and 'seeked' and remote them using Web...
on Oct 6, 2010
We have been recently doing a fair amount of prototyping and development with Amazon EC2, as the cost of hosting additional ESX servers and disk in our colo has been an exercise in power cost control to stay within our rack quotas.
Last year we looked into moving many of our services to Amazon EC2, but it didn't take long for our finance guy to ask questions about new charges to the amazon bill...
on Aug 18, 2010
In order to bring the testing matrix for Mojarra more in line with Oracle’s current engineering investment, we are planning to have all future Mojarra builds that are targeting the upcoming JSF 2.1 specification only support JavaSE 6 and beyond. Any 2.0.X and 1.2 builds will still continue to be built with Java SE 5.
If you have any comments about this decision, please let me know here....
on Aug 16, 2010
I'm organizing my thoughts for my JavaOne talk HyperproductiveJSF 2.0 and I want to build the talk around the most common waysthat time is wasted when using JSF in a project. I've talked to lots ofusers, in many different kinds of organizations over the years but it'shard to organize the stories. So, I'm coming, cap in hand, to theblogosphere asking people to share the things that have caused...
on Aug 2, 2010
Content available at: http://blogs.sun.com/arungupta/entry/totd_146_understanding_the_ejb
on Oct 20, 2010
on Oct 13, 2010
Content available at: http://blogs.sun.com/arungupta/entry/2_day_java_ee_6
on Sep 1, 2010
Content available at: http://blogs.sun.com/arungupta/entry/java_ee_6_glassfish_workshop
on Aug 14, 2010
My name is Haim Michael, I am the General Manager for Zindell Technologies and I am an eternal student and a lecturer. I chose to develop the abelski web site for the benefit of all people world wide. I have started to develop it in November 2007 and I continuously update its courses and add new ones. All courses on this web site are available for free personal and academic usage.
on Oct 4, 2010
Surely one of the biggest announcements at JavaOne 2010 was the new roadmap for JavaFX, laying out the journey towards a 2.0 release that will be radically different from what had gone before -- not so much evolution, as total revolution. While the details, when they arrived, contained a fair few surprises, the overall radical nature of the roadmap was not totally unexpected; many had suspected...
on Sep 24, 2010
My first session this moring at JavaOne was Deploying Java Applications on the Web. It was quite good as it covered some of the newer techniques that have been added to the latest 1.6_x updates. As with any good session, I walked away with some knowledge that I hadn't entered with, but what struck me the most was the legacy of JavaFX. While JavaFX was mentioned (in passing once...
on Sep 20, 2010
For anybody interested, we are giving a talk about repositories and content management in general on Thursday 12:30 at Hilton SF, Yosemite B. Session ID is S314239.
Feel free to drop by and ask also for Magnolia related questions should you have any. We have reserved some time also after the presentation should there be the need.
on Sep 21, 2010
Scala is an object oriented and a functional programming language. If you already know Java or C# you will find Scala an easy to learn and a powerful one. Most of the new features that were added in C# (comparing with Java) exist as well, and apart of enjoying the power of OOP you will also get to enjoy the power of Functional Programming.
There are many advantages for using Scala. However, the...
on Sep 12, 2010
Now that JDK 6u21, JavaFX 1.3.1 and NetBeans 6.9.1 are all finally released, I'm back to checking the latest news and improvements in JavaFX. The official Release Notes points to the deployment improvements as the single new end-user feature, so I've checked the latest improvements in this area.
The really major feature of this release is for developers: debugging and profiling will now, well,...
on Aug 21, 2010
Recently I was in urged to do a web project with the latest and coolest web framework Ruby on Rails.
That's just one line of code grabbed from somewhere:
next if entry =~ /^\./
Ruby is said to read like a natural language, but for my eyes this is just a cryptic sequence. Maybe I have the wrong natural language. So to clarify what it means I translated it to some...
on Jul 19, 2010