Is it possible to integrate Jetty with NetBeans 7?
To this date there is no Jetty support with NetBeans. It is possible to use Jetty via Maven - http://mrhaki.blogspot.com/2009/02/use-jetty-to-run-maven-web-applications.html.
There is a plugin, but having never used it I can't vouch for how good it is or if it even works!
I've tried the Jetty plugin for Netbeans but it didn't work very well...
There is very little documentation and information about it on the internet.
I suggest to don't use it.
The Jetty for Eclipse (run-jetty-run at MarketPlace) work very better besides having too much more documentation about.
Related
Is there a way to run an OSGi container in the Weblogic Application Server? I know that it works with JBoss, Glassfish and there are possibilities to add an Equinox servlet bridge to your OSGi project (implementation of the bridge is too old). But I want something similar to JBoss/Glassfish functionality where it is very easy to deploy your OSGi environment, because there are already OSGi implementations. Most of the articels I found were very old and there are no more recent ones. Can someone help with hints or better some links?
Maybe Bnd could create a .war file for me, but how can I achieve it. I read there is a possibility. Example would be great!
EDIT
Just for those who still look into that case. Since version 12.1.2 Weblogic supports OSGi out-of-the-box.
I'd consider the Apache Felix Http bridge. It worked a lot better for me than the ancient Equinox bridge (I messed around with it for a while, but never got it to work well), after I switched to Felix I got something working pretty quickly.
If I understand you correctly, you want to make a 'plain' war file, that can be deployed in any Java EE server. If that's the case, there is nothing OSGi about your war file, so I don't think Bnd will do anything for you.
WebLogic now supports OSGi in version 12.1.2 . See this
I have install OpenEJB eclipse plugin, but it seems openEJB server does not recognize project's class path. It works fine only if i copy all dependencies(third party jars) into OpenEJB/lib directory. Is there any other way to work around, specially eclipse configuration?? Thanks
The plugin itself really isn't needed. Possibly check out http://vimeo.com/6149008 which details using OpenEJB as a plain library in Eclipse for developing and testing EJBs.
With a little more details on the ultimate goal (development vs test vs production) I can probably give a better recommendation.
I am using Netbeans 6.9.1 in ubuntu 10. I have installed everything in my netbeans, apache, glassfish, c/c++, etc, ...
but I have a problem for using frameworks, if I want to create a web application and user Spring or JSF or struts framework, none of them are enable, and I cant use this option in netbeans, how can I enable the them?
I had the same problem a few days ago. I'm on ubuntu 10.10 and I was using openJDK. I switched to the sun jdk and it solved the problem. I'm not sure why it did but it could help you :)
It looks that the J2EE module isn't enabled.
so try to create a new project and select web application in the menu it will enable that module and then you can choose between frameworks even String or Struts.
I am project I will be using following tech. JSF 2.0, Hibernate, Spring, jBPM, JAX-WS so I am confused between chosing server and I am locked between JBoss and GlassFish please suggest me why I should use the one. I will be using Netbeans 6.8
From a Development Perspective:
If you are using NetBeans then I think the easiest to integrate with will be GlassFish, simply because they come both from Sun and you will get the best out-of-the-box experience. While not mandatory, the Java EE Tutorial from Sun also emphasizes the use of NetBeans with GlassFish.
Nonetheless if you happen to use JBoss, it won't be difficult to integrate it on NetBeans.
From a Deployment and Long-term Maintenance Perspective:
See my answer to a similar question here.
I was looking out for a free plugin for developing/debugging JSP pages in eclipse.
Any suggestions?
The Eclipse Web Tools Platform Project includes a JSP debugger. I have only ever needed to use it with Tomcat so I cannot say how well it works with other servlet containers.
BEA seems to have a free one BEA JSP plugin - not used it, so not sure how good it is.
Oracle now owns BEA, and they have this plugin which might do a similar job.
The former BEA Workshop is now Oracle Workshop. It is the best JSP editor with WYSIWYG support and it is free. It is not specific to WebLogic. Basic JSP editing is server neutral anyway. However, it supports launching and debugging on many servers.
You can read my blog post about it.