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 


Databases

JPA has its puzzles and from time to time it is useful to write down that tricky solution for our mapping needs.This entry describes a ManyToMany relationship with an additional state in the intermediate table. All my examples are related to the Arena-PUJ project, the pet project I am hard working nowadays. Arena is an online system to manage academic competitions, and within its several tables...
on Oct 24, 2009
Can you compile, deploy and test your Java EE projects with just 1 line of command? Check it out. I have no time for documentations lately, but I prefer to give you a chance to early adopt my build script and take your own conclusions. Following the steps below, you will have my Java EE 5 application running in your Glassfish v2.1 server - including test data populated in the MySql database....
on Oct 9, 2009

J2EE

Content available at: http://blog.arungupta.me/2009/10/comparing-glassfish-and-jboss-helping-you-decide/.
on Oct 20, 2009
Hope you have read my blog on "Writing your first SailFin CAFE Application". There I explained how to handle a 2-party call using SailFin CAFE. Now lets see how can you write a simple conference application. The application would accept the calls from any participant and if the participant is calling a conference id, then the application should use a media server, handle SDP, mix the voice,...
on Oct 18, 2009
autodpeloy-bundles directory has been moved to autodeploy/bundles. In my earlier blog titled Using filesystem operations to manage OSGi bundles in GlassFish, I had mentioned the directory name to be ${domain_dir}/autodeploy-bundles/. Based on feedback from co-developers and users, I have moved it to ${domain_dir}/autodeploy/bundles/. As you may be knowing, ${domain_dir}/autodeploy is already...
on Oct 4, 2009
Content available at http://blog.arungupta.me/2009/10/totd-109-how-to-convert-a-jsf-managed-bean-to-jsr-299-bean-web-beans/.
on Oct 2, 2009
Poison messages are basically delivery deadlocks caused by a continuous redelivery of a message to a JMS Queue or Topic. That usually happens due to a code bug or configuration problems in the project. How to reproduce poison messages The easiest way of reproducing the poison messages issue is to create a Message Driven Bean and then to throw an exception in its onMessage method, like the example...
on Sep 24, 2009
Content available at: http://blog.arungupta.me/2009/09/totd-104-glassfish-v3-monitoring-how-to...
on Sep 23, 2009
Content available at http://blog.arungupta.me/2009/09/totd-101-applying-servlet-3-0java-ee-6-%E2%80%9Cweb-fragment-xml%E2%80%9D-to-lift-%E2%80%93-deploy-on-glassfish-v3/
on Sep 16, 2009
Content available at http://blog.arungupta.me/2009/09/totd-100-getting-started-with-scala-lift-on-glassfish-v3/.
on Sep 16, 2009
Version 1.0.0.PREVIEW3 of Web Beans (the implementation for JSR 299 Contexts and Dependency Injection For Java EE) now uses the annotations from JSR 330 (Dependency Injection For Java) and it is available in GlassFish V3.  In this entry, we'll look at a simple JSF 2 application that uses Web Beans and the JSR 330 annotations. There are other features available in this release of Web Beans...
on Sep 4, 2009

EJB

We're less than two months away from the 2nd annual JSF Summit conference, co-sponsored by JSFCentral and the No Fluff Just Stuff Symposiums. The conference will take place December 1st-4th in warm, sunny Orlando, FL. We already have an all-star lineup of speakers such as Ed Burns, Matthias Wessendorf, Dan Allen, Ted Goddard, Keith Donald, David Geary and several others, covering every aspect...
on Oct 13, 2009

Web Services and XML

Registration is one of most implemented use cases ever, but things get a bit different when you try to implement it in a RESTful Web-Service. Before I start the discussion about the registration use case, a list of terms for disambiguation: Application means a Java EE Application. (Arena-PUJ is the Java EE Application I am doing my REST experiments) Service is a RESTful Web-Service. (back-end...
on Oct 2, 2009
Rule of thumb: Avoid to use {variables} as the first path of a Jersey's @Path I am working on the Arena PUJ Project, a RESTful web-service to support PUJ competitions. We are in the early stages of the project but we already got some resources published on the web. Let me show you a few URL samples: An insecure GET method to read all competitions promoted by a JUG: GET /{competition_id}/...
on Sep 17, 2009

Web Development Tools

How do you write a application that enables communication between two SIP phones? What if you also want to support video calling? If you are using SIP servlets, you would be writing one or two sip servlets (atleast a few hundred lines of SIP servlet code) to achieve this. But if you are using Sailfin CAFE, then things change quite dramatically. Here is the code to do all of the above, I...
on Oct 1, 2009

Servlets

The newly introduced "Basic3pcc" sample demonstrates a simple Third Party Call Control (3pcc) application in SailFin. Download latest SailFin to get this sample. This sample includes 2 applications as shown in the figure below: Figure 1. Applications bundled in Basic3pcc sample.   Application #1 (i.e., 3pccConvergedApp.sar) is a 3pcc call controller application....
on Sep 21, 2009
I've had questions about how to inject Web Beans into servlets and whether that is supported.  In this entry I'll outline a method of accomplishing just that. This is a simple login application that communicates to a servlet using Ajax calls from a JSP view.  I'm not going to focus on the view or the protocol (Ajax) that  is used to communicate with the servlet.  If you are...
on Sep 9, 2009

Mobility

The GlassFish Mobility Platform team has been working on many new features since the 1.1 release back in February 2009, one of which is adding support for MCBO on the Java SE platform.  This will allow the development of desktop synchronization clients that are much more powerful than their mobile Java ME siblings. What's the Difference Between the Java ME and Java SE MCBO ...
on Sep 11, 2009

Community

Grizzly Deployer got lot of activity recently over mailing list, so I took the time to give you a new feature that been added to the release 1.9.17. The Autodeploy command. You should see that option like a default web.xml config that will be append to all your webapps that you will deploy. You can activate this feature by adding this param to the command line : java -jar grizzly-http-...
on Sep 10, 2009

Research

I am working out a new pet project, an online system to support PUJ Competitions. It is still a work under progress and I plan to start to blog some technical results here, but until that glorious free time I would give you a glimpse about what is keeping my blog so quiet :) So, PUJ is an academic competition where undergraduate student submit their homeworks for the evaluation...
on Sep 7, 2009