sabato 29 ottobre 2011

Install JBoss Runtime in Eclipse

If you have followed the steps described in the previous post, now you are ready to register your JBossAS in the eclipse environment (in order to manage it and deploy in few click).

In eclipse window open the "Server view", choose "New" and select "Server". You should get a window like:


select JBoss 6.x and fill the required information like the JBoss directory.
When the wizard ends, a new icon representing your JBoss is created.
Now you can start and stop the server, deploy using the "Add and remove" function, manage the configuration using the "Open" item, etc...

Create the workspace!

Goal: An (enterprise) Web Application (Technologies: Servlet / EJB3 / Hibernate / Mysql / JQuery or ExtJS or GWT on the client side)

What we need:
The involved tools are: JDK, JBossAS, Eclipse, JBossTools

  • JDK

I assume you already have a JDK. If not, download and install it.

  • JBoss Application Server

Despite JBossAS has reached the version 7.0 (faster than ever), I choose the 6.1 because according to this page https://issues.jboss.org/browse/AS7-1338 the support for remote EJB (over RMI) are not yet implemented (October 2011). It has been planned for the version 7.1.

  • Eclipse

It does not need introductions (I hope)...

  • JBossTools

It's a eclipse plugin that help the development and deployment of a jar/ear/war on JBossAS directly from the eclipse environment.
It's allows also to manage the configuration of the Application Server with a graphical interface and simplify the configuration in your projects of some components like Hibernate.



First of all download JBossAS 6.1 and Eclipse (Java EE Version) from their official sites:
http://www.jboss.org/jbossas/downloads
http://www.eclipse.org/downloads/

Both are simple archive and do not require any install process. Simply unzip them where you prefer.

Now we are ready to install JBossTools.
Open eclipse, set a workspace directory and choose Help -> Eclipse Marketplace and search for "jboss".
You should get a list of JBoss related project in which there is the list of the JBoss Tools versions.
Click install, follow the wizard and everything you need is installed.

If something went wrong with the JBossTools, here you can download it directly: http://www.jboss.org/tools/download

lunedì 10 ottobre 2011

First post

This is the first post!
Nothing relevant, just a test...

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
www.sourcebox.cc