Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: J2EE

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Eclipse

The Bean Validation specification went final around the same time that the Java EE 6 specifications went final. The Java Persistence 2.0 specification allows for Managed classes (entities, mapped superclasses and embeddable classes) to be configured with Bean Validation constraints. In this example we are going to use Eclipse Galileo which you can download and then install from here. You will...
on May 6, 2010

Databases

Content available at: http://blogs.sun.com/arungupta/entry/totd_133_jpa2_jpql_criteria
on May 6, 2010
Last week's kickoff of FESI's research program went very well. There are a number of folks (>500) who are now following this blog on Java.net, and a number who have gotten involved.  While we wait for more folks, we'll be researching new technologies, the first being NOSQL databases.  If the kind of topics we're research interests you, please feel free to join the project;...
on May 5, 2010
If you wonder whether the style of use with JDBC API has an impact of performance, you might like to read my latest blog entry on Head Crashing Informatics. While the entry mostly is about tuning SQL Anywhere's BLOB handling performance, it contains an interesting aspect: There are three ways to deal with BLOBs in JDBC, and the performance difference is tremendous. While obvious for the JDBC...
on Apr 10, 2010

Programming

 I'v just published an integration module for using GridGain with Spring Batch. Using this module you can distribute Spring Batch processing inside a GridGain grid with the implementation of remote chunking. http://aloiscochard.blogspot.com/2010/04/spring-batch-integration-module...
on May 4, 2010

J2EE

What I realized shortly after we put out Magnolia 4.3 is that while we tried to explain new multisite support for example in this screencast there are still plenty of grey areas and lot of confusion when people actually get to use the multisite support. And I think I wrote and talked about this topic earlier as well. Of course as with any new functionality, there are still...
on May 2, 2010
Content available at: http://blogs.sun.com/arungupta/entry/totd_132_servlets_3_0
on Apr 30, 2010
Content available at: http://blogs.sun.com/arungupta/entry/totd_129_managed_beans_1
on Apr 19, 2010
Content available at: http://blogs.sun.com/arungupta/entry/totd_128_ejbcontainer_createejbcontainer_embedded
on Apr 14, 2010
In this post I will share my recent findings about Container Dependency Injection in Java EE 6, in particular how to decouple the processing threads of  event producers and event consumers. Java EE 6 introduces a very nice dependency injection framework (CDI) that has superb support for the Observer pattern in the form of event broadcasting. An Event in CDI is just a regular POJO: public...
on Apr 14, 2010
In my last blog entry I described the generic user procedures as used in CAFE. These procedures can be used for registration and various parts of presence. In this installment I will go a bit deeper into the presence related user procedures, showing how to publish presence information on behalf of a user and subscribe to presence information. And since presence information in CAFE ...
on Apr 13, 2010
SailFin CAFE, like other converged application development frameworks has changed the converged application development paradigm. Having used CAFE APIs so far, if one thought that application development has never been so fast and so easy, things  just got better with v1 b28. Communications (conversation, conference, imconversation, imconference...) that were created by applications were...
on Apr 11, 2010
A long time without blogging, I have been busy working with DTV applications and GRails... this post goes with the second topic... Have you already installed Spring Security (Acegi) plugin in Grails? Do you want to allow logins with the email also - like Twitter, SlideShare, etc - and not only with the default username? Here is the simple way to make it to work: 1 - Implement an...
on Apr 8, 2010

Community

This is the first edition of a new column I'll be writing each weekend titled "java.net: the Week in Review." In the column, I'll present all of the previous week's Java Today news items, a selection of java.net blog posts, polls, and spotlights. I'll organize the presentation by categorizing the featured news items, so if, for example, your interest is JavaEE and GlassFish, you'll be...
on May 1, 2010
Content available at: http://blogs.sun.com/arungupta/entry/java_ee_6_glassfish_netbeans
on Apr 8, 2010

JSR

I wanted to describe an interesting problem I recently faced that involved the most excellent JAX-RS specification and its Jersey implementation.  The quick overview is that we wanted the output of our JAX-RS resource classes to be client-agnostic, but we also wanted the ability to insert a decorator of sorts in between the objects we were returning and the normal JAX-RS serialization/...
on Apr 28, 2010

Web Services and XML

Content available at: http://blogs.sun.com/arungupta/entry/totd_130_invoking_a_osgi
on Apr 27, 2010
Recently a user in GlassFish forum asked about developing JAX-WS web service in an OSGi bundle. Here is a complete sample demonstrating a JAX-WS web service invoking an OSGi service via OSGi service registry. You can download it from here. The diagram below hopefully explains the organisation of the sample:   As the above diagram shows, we have three components, viz: 1) osgi-service.jar:...
on Apr 8, 2010

EJB

  Learning GlassFish v3 Command Line Administration Interface (CLI) Terminals and consoles was one of the earliest types of communication interfaces between a system administrator and the system administration layer. Due to this long time presence,  command line administration consoles become one the most utilized administration channel for configuring different software ranging from database...
on Apr 27, 2010
Here is an example of yet another hybrid (OSGi + Java EE) application. This is a complete JMS consumer/producer example using OSGi and GlassFish. You can download the complete sample from here. How to use the sample: 1. Download <a href="http://weblogs.java.net/sites/default/files/osgi-jms-mdb-1.zip">osgi-jms-mdb-1.zip</a> and unzip it.2. cd osgi-jms-mdb-1/3. mvn clean...
on Apr 21, 2010