Java Virtal

[ News ] rss

February 01, 2011

Mark Wielaard: New GPG key. Finally created a new GPG key using gnupg. The old one was a DSA/1024 bits one and 8 years old. The new one is a RSA/2048 bits one. I will use the new one in the future to sign any release tarballs I might create. pub 2048R/57816A6A 2011-01-29 Key f...

More »

February 01, 2011

Andrew Hughes: [SECURITY] IcedTea6 1.7.8, 1.8.5, 1.9.5 Released!. We are pleased to announce a new set of security releases, IcedTea6 1.7.8, IcedTea6 1.8.5 and IcedTea6 1.9.5. This update contains the following security updates: The IcedTea project provides a harness to build the source code from OpenJDK6 u...

More »


[ Archives News
for 'Java Technology' ]

home > news > java technology > ejb as osgi service demo at eclipsecon

EJB as OSGi Service demo at eclipsecon

I will wrap up my experience at eclipsecon. This was my first time at eclipsecon. Folks who had been here earlier told me that this year there was a lot of topics around eclipse runtime projects – so the focus has shifted from tools to runtime. Overall I liked eclipsecon. My topic, OSGi & Java EE in GlassFish, was also of the same type. The slides of my talk are available here. The source code for the sample used to demonstrate “Modularized Enterprise Java Application” running in GlassFish is now available here. Just download, unzip and run it following the steps listed below.   The sample is organized as shown in the UML diagram below:   Features of the sample All the components including the EJB are deployed as separate OSGi bundle. EJB uses JPA in container managed mode to communicate with the database. Both the admin client and Web Application Bundle client use the EJB via OSGi service registry. Deployment order of bundles is irrelevant. Local EJBs being accessed from other bundles.   Steps to run the sample: asadmin start-domain cp osgi-ejb-container.jar osgi-jpa,jar from maven repo to ${glassfish.home}/modules//autostart/ asadmin start-database unzip cd ./ejb-as-service mvn clean install cp ./common/target/hybridapp2-common.jar ./client/target/hybridapp2-client.jar ./service/target/hybridapp2-service.jar ./webclient/target/hybridapp2-webclient.war $glassfi...

Date: March, 30 2010

Others News

© website design software | web editor | top web builder | | image slider