« Return to Thread: problem following NetBeans Server-Skeleton Module Tutorial on NB 6.1

problem following NetBeans Server-Skeleton Module Tutorial on NB 6.1

by Ben Hammond :: Rate this Message:

Reply to Author | View in Thread

Hi,
I am attempting to follow the Server Skeleton Module tutorial described
here on NetBeans 6.1

http://platform.netbeans.org/tutorials/nbm-server-plugin.html#ConfigurationSupportImpl

I see that the class
org.netbeans.modules.j2ee.deployment.plugins.api.ConfigurationSupport
has been refactored out of existence since the tutorial was written.

According to this page http://wiki.netbeans.org/DDBeanRemoval , I can
now choose from
org.netbeans.modules.j2ee.deployment.plugins.spi.config.ContextRootConfiguration
org.netbeans.modules.j2ee.deployment.plugins.spi.config.DatasourceConfiguration
org.netbeans.modules.j2ee.deployment.plugins.spi.config.EjbResourceConfiguration
org.netbeans.modules.j2ee.deployment.plugins.spi.config.MappingConfiguration

as the interfaces that I must implement; however I cannot see how any of
these fits in with the existing code in the tutorial.

When I simply comment out the reference to 'ConfigurationSupport', build
and deploy, I do not see 'MyServer' in the Servers window, and I am
assuming that this is because I have not registered the configuration
support properly.

I have seperately used the 'fix imports' to fix up the other interface
imports that have altered packages, and I have altered the 'instanceOf'
elements in layers.xml to refer to the existing Factory interfaces.

Has anyone got this tutorial working in NB6.1?

I would ultimately like to implement minimal support for a Jetty
webserver inside NB; I see that a NB Jetty plugin has been proposed, but
cannot see any futher progress.
Any suggestions for where I can find out more about the status of this
plugin?

Thanks alot

Ben Hammond.


 « Return to Thread: problem following NetBeans Server-Skeleton Module Tutorial on NB 6.1