Thursday December 13, 2007
Screencast #WS8: Tango with NetBeans 6
David Coldrick recorded a screencast for Australian Developer Days. The demo shows how NetBeans 6 allow Web services to be easily created and deployed on GlassFish.
It is similar to screencast #ws7 but good to see somebody else creating these videos :)
Technorati: screencast glassfish webservices metro tango netbeans
Posted by Arun Gupta in webservices | Comments[0]
|
|
|
|
| GlassFish @ Bangalore, Chennai and Pune - Metro, jMaki & JRuby
I presented on GlassFish and other related technologies (Metro, jMaki and JRuby) in Bangalore, Chennai and Pune last week. The slides used during the preso are here. And here is the list of questions (along with answers) for you:
Is Metro plugin available for NetBeans version < 6.0 ?
Yes, Metro plugin is available for NetBeans 5.5.1. This is clearly explained
in
screencast
#ws4. NetBeans 6.0 is now
released and is the recommended version of the IDE.
jMaki.js is the initialization script (18kb) for jMaki that is
loaded when the web application is loaded. This script provides
multiple features, included but not limited to:The jMaki wrapper is a minimal code that needs to be written anyway to invoke the code anyway so there is no additional overhead there.
Is Comet supported in GlassFish/jMaki?
Yes, read about Comet support in GlassFish
The Grizzly Comet and
Writing a Comet application using GlassFish. Also try a simple sample
that demonstrates how
jMaki and Comet (read the
explanation) work nicely with each other.
Can GlassFish deploy EJB 2.0 apps ?
GlassFish is Java EE 5 compliant which maintains backwards compatibility
with J2EE 1.4 and so EJB 2.0 applications can be deployed.
Do GlassFish support Active and Passive cluster ?
In GlassFish the cluster instances talk to each other for health monitoring
through GMS (of Shoal). The buddy
instances talk to each other for replication of the session state. When a
failure is detected the LoadBalancer can failover the request to any
instance in the cluster. The session in question will be fetched from a
replica to this instance in order to continue the conversational state of
the session. In this sense, we have an active cluster.
GlassFish does not have a concept of a standby or passive cluster which will
take over when an active cluster fails altogether. That is usually
considered a high cost approach for redundancy and not advisable.
Read more discussion
here.
Can we add a Metro Web service wrapper be created around
EJB 2.0 ?
Nope, Metro Web service wrapper can be created around EJB 3.0 only.
How can an application deployed on WebLogic be migrated
to GlassFish ?
Migrate2GlassFish
helps automate the migration of J2EE/Java EE applications to GlassFish.
Can Entity beans be configured only as read-only beans -
caching server for these beans ?
Yes, read about the
characteristics, good practices, how to deploy and refresh read-only
beans.
How can jMaki applications run behind the firewall ?
Add the following Servlet parameters to web.xml:
<context-param>
<param-name>proxyHost</param-name>
<param-value>PROXY_HOST</param-value>
</context-param>
<context-param>
<param-name>proxyPort</param-name>
<param-value>PROXY_PORT</param-value>
</context-param>
This is described in detail at
https://ajax.dev.java.net/xmlhttpproxy.html.
Technorati: conf webservices web2.0 ruby jruby projecmetro glassfish netbeans q&a
Posted by Arun Gupta in webservices | Comments[7]
|
|
|
|
|
Today's Page Hits: 3517
Total # blog entries: 1002