Netbeans with jBoss
- download JBossAS 5.x GA http://www.jboss.org/jbossas/downloads/,
- decompress to a folder, ex: /home/quan/jboss-5.1.0.GA
- netbeans > Services tab > Servers > add jBoss Server
- download JBossAS 5.x GA http://www.jboss.org/jbossas/downloads/,
- decompress to a folder, ex: /home/quan/jboss-5.1.0.GA
- netbeans > Services tab > Servers > add jBoss Server
GlassFish has just recorded a record-setting September in terms of downloads, registrations, and admin pings. The GlassFish downloads graph is indicative of a "breakout" for GlassFish within the application server market sphere.
I'm still a big Tomcat fan myself, but have others made the switch from Tomcat to Glassfish (or use both)? Any big advantage to Glassfish if I don't need the full JEE bits?
I wonder also if this includes downloads of Glassfish with NetBeans. Since it's the default servlet container with the full version of NetBeans that could skew the numbers a bit.
I found netbeans better than eclipse. It consumes less CPU and the UI and SVN support is also better. I recommend it for PHP development.
Here is the list of shortcuts:
The only IDE you need! Runs on Windows, Linux, Mac OS X and Solaris. NetBeans IDE is open-source and free.
Maven
- Install
+ Download: http://maven.apache.org/download.html
+ Extract the distribution archive to the directory you wish to install Maven 2.2.0, i.e. /usr/local/apache-maven
+ Add environment variable:
export M2_HOME=/usr/local/apache-maven/apache-maven-2.2.0+ Run mvn --version to verify that it is correctly installed
export PATH=$PATH:$M2_HOME/bin

- Command
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
mvn compile
mvn test
mvn package
- add Spring dependency
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>2.5.6.SEC01</version>
</dependency>
- create class SayHello.java
package com.mycompany.springapp;public class SayHello {
private String name;
public void setName(String name) {
this.name = name;
}public String getName() {
return name;
}public void greet() {
System.out.println("Hello " + getName());
}
}
<beans>
<bean id="hello" class="com.mycompany.springapp.SayHello">
<property name="name" value="Quan" />
</bean>
</beans>
public class App {public static void main(String[] args) {
BeanFactory factory = new XmlBeanFactory(
new ClassPathResource("application-context.xml"));SayHello hello = (SayHello) factory.getBean("hello");
hello.greet();
}
}
Netbeans 6.7.1 with javafx support in finally available for download: http://www.netbeans.org/servlets/NewsItemView?newsItemID=1407
Hurray!
Netbeans 6.7 is out, the integration with kenai is really nice and there is still no javafx version of Netbeans 6.7: it's a shame!
The connection with kenai and the integrated chat window is a really usefull improvement. As we were to impatient to work with this new version we googled for hours and finally founded a release candidate for netbeans 6.7.1 with javafx (don't try to find it again, we tried with no success!). Just try it yourself: http://bits.netbeans.org/netbeans/6.7.1/rc/2009-07-16_23-01-10/
I've been experimenting with Textmate vs Netbeans as my Ruby editor on my mac. Here is the current scorecard:
Textmate wins: