Procédez comme suit pour déployer l'application sur une installation WebSphere Application Server où le feature pack OSGi est installé. Reportez-vous à la documentation de WebSphere Application Server pour plus de détails sur la configuration et l'installation.
Le navigateur Web s'ouvre et la chaîne counter=0 s'affiche. Chaque fois que la page est rechargée, la valeur augmente.
[3/30/10 15:30:58:546 EDT] 0000004c StepStartBLA A CWWMH0300I: Starting business-level application "WebSphere:blaname=CounterApp".
[3/30/10 15:30:59:187 EDT] 0000004c webapp I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: CounterWebBundle.
[3/30/10 15:30:59:265 EDT] 0000004c WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key default_hostCounterWebBundle
[3/30/10 15:30:59:281 EDT] 0000004c webcontainer I com.ibm.ws.wswebcontainer.VirtualHost addWebApplication SRVE0250I: Web Module CounterWebBundle has been bound to default_host[*:9083,*:80,*:9446,*:5067,*:5066,*:443].
[3/30/10 15:30:59:296 EDT] 0000004c FileLocatorIm E CWPST0164E: The CounterWebBundle composition unit is not found.
[3/30/10 15:30:59:312 EDT] 0000004c StepStartBLA A CWWMH0196I: Business-level application "WebSphere:blaname=CounterApp" was started successfully.
[3/30/10 15:30:59:312 EDT] 00000016 SystemOut O CounterImpl.init() called
Vous avez déployé l'application sur WebSphere Application Server.