Skip to main content

A Simple MVC Application with Eclipse/JBoss

Coming up here , which I'll post in a couple of hours will be simple MVC baby application where I'll use /We'll need

o Eclipse ( make sure you get the 3.1 M4 for JBoss IDE/J2EE integration
o Get JBoss, get the 4.0.2. That'll do. For installation see Instructions
o We'll Install the JBoss IDE Plugin via the Eclipse Install Manager.
o XDoclet as well.(Not for now but for other test endeavors, but we can still install it)
o Well there are score's of cool plugins like Lucene(search engine), Hibernate(PersistanceManager) for Databases, but like I said we'll come to that later in the series. Remember our poor brain can only handle small things, so we go easy
o Last but not the least a working JDK, get JDK 5.0 from while you're at it. I would assume that you can configure it easily on your OS(be it windows/linux)

Eclipse Installation

You can have as many environments as you like. All you need to do is unzip the file into your directory. And you're(we'll almost done!) . I have for instance several homes, currently Eclipse 3.1 Final release and for now the M(Milestone)4 for the JBoss IDE integration.

Assuming that you're done installing and configuring your eclipse environment, which is nothing!(phrrrrew, the brain wheezes :))

We can get on with the installation of the JBoss IDE plugin and as well as XDoclet plugin installation, again no sweat here as you'll notice soon.

JBoss IDE /XDoclet Installation
If you've got no patience and your brain is already gunning to go ,then see this for JBoss IDE installation via the eclipse plugin, but if your brain is aching like mine read on...;-)

Follow the prints to install the JBoss IDE

Well uploading pictures sucked bigtime(tried flickr,picasa,Hello, all had limitations and remember my poor brains has it's lobes full with Java) so I posted them on my own "Singapore" gallery.

Starting the JBoss 4.0.2 AS
*(This is fully J2EE compliant server, and not like the Tomcat Server which acts as a container(although it also has capabilities to function as a reasonably good app server)

o Again simple, unzip it into say /usr/java/jboss-4.0.2 or D:\java\jboss-4.0.2
o Have your bash profile/env variables set up properly
o And then you can either start the app. server via cmd line or via the eclipse. All you need is to invoke the /bin/ or \bin\run.bat

Ok then we're all set and have our IDE kinda of ready to dish out a simple MVC J2EE application.


  1. well I'll post my own comment here:

    If installing Jboss on a windows box make sure that you don't put it under "program files" ..path with spaces in between will make it throw exceptions such as
    "main class not found and what not!"

    Answer is simple just put it in a folder(s) which don't have spaces in their names.:-)


Post a Comment

Popular posts from this blog

DeepLearningTrucker Part 1

Avastu Blog is migrating to; 1st Jan 2009 live


I will send out emails personally to those who are using my link(s) on their sites.

Thanks much for your co-operation and hope you enjoy the new site and its cool new features :-)

Not like the site is unlive or something..on the contrary, its beginning to get a lot of attention already. Well most of the work is done, you don't have to worry about anything though:

What won't change

Links/Referrals: I will be redirecting the links (all links which you may have cross-posted) to - so you don't have to do anything in all your posts and links. Although, I would urge however that you do change the permalinks, especially on your blogs etc yourselfThis blog is not going away anywhere but within a few months, I will consider discontinuing its usage. I won't obviously do …

Cloud Security: Eliminate humans from the "Information Supply Chain on the Web"

My upcoming article, part - 3 data center predictions for 2009, has a slideshot talking about the transition from the current age to the cloud computing age to eventually the ideation age- the age where you will have clouds that will emote but they will have no internal employees.

Biggest management disasters occur because internal folks are making a mess of the playground.

Om's blog is carrying an article about Cloud security and it is rather direct but also makes a lot of sense:

I don’t believe that clouds themselves will cause the security breaches and data theft they anticipate; in many ways, clouds will result in better security. Here’s why: Fewer humans –Most computer breaches are the result of human error; only 20-40 percent stem from technical malfunctions. Cloud operators that want to be profitable take humans out of the loop whenever possible.Better tools – Clouds can afford high-end data protection and security monitoring tools, as well as the experts to run them. I trust…