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

Blogs by topic GlassFish and user ss141213

• 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 


J2EE

Java VM has a standard option called -verbose as shown by java -help:     -verbose[:class|gc|jni]                  enable verbose output To diagnose class loading issues, you need to specify -verbose:class. It's straight forward to use if you are launching the Java process yourself. How does a...
on Feb 23, 2012
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
Introduction   What are our options to administer OSGi runtime in GlassFish? We have already talked about a) a command line tool, and b) a web console. We now have a third option. Recently I came across a REST based console being developed by Filippo Diotalevi. We already have all the necessary support in GlassFish - the REST console requires OSGi/HTTP Service and we have an implementation...
on Sep 4, 2009

EJB

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 22, 2010
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...
on Mar 30, 2010
As promised earlier, I am going to quickly go over the key points I gathered from the talks I attended at eclipsecon and I also want to brief you about my topic at the conference. Because of a migrane attack earlier today which I firmly believe was caused by severe jat lag, I could not attend as much on day #2 as I had earlier decided to, and that's the very reason why I will keep...
on Mar 24, 2010

Web Services and XML

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

Programming

Meeting with OSGi Experts   Although I had interacted with a number of active members of OSGi [1] expert group, last week I had the opportunity to meet some of these experts at an OSGi Enterprise Expert Group face2face event held at LinkedIn's Mountain View office. This is also the first time I met Richard S. Hall, the Felix guy (don't confuse with a very active Felix [2]...
on Mar 22, 2010
Typical users of GlassFish use GlassFish in a separate process and they start GlassFish by using commands like the following: java -jar glassfish.jar                 orasadmin start-domain The above commands first launch an OSGi framework and then deploy the necessary bundles. What if you want to embed GlassFish in an...
on Feb 14, 2010

OSGi

Starting with build #56, GlassFish v3 now comes pre-installed with Apache Felix Service Component Runtime, which is an implementation of OSGi Declarative Service Specification. This bundle is located in modules/ directory and is started automatically when server starts.
on Jul 24, 2009
In a previous blog, I had shown how one could use Apache Felix Remote Shell to connect to GlassFish and administer the underlying OSGi runtime. Since, GlassFish installs some 100 odd bundles, it is not very easy to explore them using the shell. There are some improvements planned for Felix shell to address this issues, but then there are a lot of people who are just comfortable with GUI as...
on May 5, 2009
Long story short: telnet "host running glassfish v3" 6666 -> help Welcome to my blog. It's been a while since I last wrote something here. The last few months (or is it a year now) have been quite challenging for us at GlassFish project. Most of my time has been spent in making sure that GlassFish v3 runs on OSGi and runs well. We have made a lot of progress in this regard and made...
on Feb 23, 2009

Accessibility

A few days back, Jerome blogged about how to deploy OSGi bundles in GlassFish using "asadmin deploy --type=osgi" command. In his blog, he also mentioned why you should not copy your bundles to glassfish/modules directory. In this blog, I will talk about a filesystem based management agent that I have integrated in GlassFish and how you can take advantage of the same. We have...
on May 3, 2009