It's been a while since I've blogged last (ok, it's been a year), but I recently came across a question that I have a little insight into, and I thought I'd tackle it briefly.
The question was simple: "How do I test my JSF application?"
I've used two different test frameworks to do so, and besides being two of the most popular, they also offer a good example of the two different patterns used...
on Jan 22, 2011
While we work on the release notes and get ready to prepare a release bundle, I wanted to push this quick blog entry out as soon as I could. I just committed the integration of Mojarra 2.1.0 build 10 to the GlassFish 3.1 HEAD, it will be in the next promoted build of GlassFish. If you want to get the Mojarra installation standalone, you can either wait for me to post it on the official Oracle...
on Jan 7, 2011
End of the last year and beginning of this I've spent trying to get Magnolia work with ModeShape. There were issues with both of the apps. On one end, Magnolia had issues with the Modeshape session data refresh strategy, on the other one, Modeshape was sometimes stricter then JCR spec required it to be when it came to queries. All of those were elementary issues that were relatively easy to...
on Jan 3, 2011
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
This blog shows how to programatically change the log levels of a particular logger in Embedded GlassFish.
I did a search on the internet for information on how to change the log levels of a particular logger in Embedded GlassFish. The only information I could find was http://docs.sun.com/app/docs/doc/821-1208/gjlfe?l=en&a=view which requires changing $JAVA_HOME/jre/lib/logging.properties....
on Dec 15, 2010
Apache maven is supposed to solve the classpath hell; or so I´ve been told...
Started using maven 2 in a multi-pom project. One of the requirements is to be able to deploy EAR files to Weblogic.
After looking around it seemed like the most stable way of doing this with maven and Weblogic 10.x is to use the Weblogic Ant task. Not ideal since we are migrating away from Ant, but still okay.
on Dec 14, 2010
Last week, I sent a code review request to the Mojarra dev list. As you can see, no-one responded, but when a good friend and longtime Mojarra comitter (the winner of this contest) popped into the JSF IRC chat room, I asked him to review the changebundle.
We played IM tag for a while and when he finally caught me he brought a potential issue to my attention. The issue hinges on the answer to...
on Dec 9, 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
Content available at: http://blogs.sun.com/arungupta/entry/screencast_34_glassfish_3_1
on Nov 17, 2010
Content available at: http://blogs.sun.com/arungupta/entry/totd_146_understanding_the_ejb
on Oct 20, 2010
Automated functional tests are key to ensure the quality of large applications in incremental development processes. In contrast with unit tests where each test is supposed to be independent from the outside environment, functional tests are really integration tests: in order for them to run properly the process must start from a well known state.
The majority of enterprise applications use a...
on Oct 14, 2010
I had originally planned to write a blog post per day during JavaOne 2010. That being my first JavaOne I was of course completely unprepared for the hectic routine of sessions, meetings, parties and more sessions. I wrote blog posts in the first two days and disappeared ever since.
I am alive, well, and back to Brazil. I had a terrific time in San Francisco where I got to meet a lot of...
on Oct 7, 2010
Content available at: http://blogs.sun.com/arungupta/entry/s313522_instructions_for_osgi_enabled
on Sep 24, 2010
In JUG-AFRICA we started an Open Source project to manage the BIG ANNUAL EVENTS for our JUGs. The first release will be available in the early second half of January.
The application will provide all services bellow via the REST Web services :
- Appointment Manager
- Conference Manager
- Paper reviews and approval Manager
- Profile Manager
- Registration Manager
on Jan 2, 2011
Java User Groups
I'll like to let you know the dates of JCertif 2011 the biggest Java Community Event in Africa. About 800+ attendees from many countries.
We will be happy to have you as Speaker on Developer Tools, Java, Open Source, Mobile Apps...or Business solutions.
I'll like to let you know the dates of JCertif 2011 the biggest Java Community Event in Africa. About 800+ attendees from many countries....
on Jan 1, 2011
Content available at: http://blogs.sun.com/arungupta/entry/java_ee_6_glassfish_jax
on Sep 26, 2010
Often code has a bad smell, then it gets time to replace custom lines by common patterns. Sometimes it even makes sense to even replace a single line of code by a class just wrapping that single line (which actually increases code size), if that makes readers better understand what the code does. Unfortunately often such patterns are publicly known but do not exist as ready to...
on Jan 1, 2011
We are making progress on the next release of Leonardo, an open source desktop Java drawing program. One of the key features scheduled for the next release is a webservice that lets users save and share reusable symbols they've created. For example, someone could create a set of GWT mockup widgets, then share this set with others.
The challenge I face is that I'm mainly a client side developer....
on Dec 7, 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
Java Web Services and XML
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