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 (eclipse-SDK-3.1M4-win32.zip) 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 http://java.sun.com 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/run.sh 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.

Comments

  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.:-)

    ReplyDelete

Post a Comment

Popular posts from this blog

Security: VMware Workstation 6 vulnerability

vulnerable software: VMware Workstation 6.0 for Windows, possible some other VMware products as well type of vulnerability: DoS, potential privilege escalation I found a vulnerability in VMware Workstation 6.0 which allows an unprivileged user in the host OS to crash the system and potentially run arbitrary code with kernel privileges. The issue is in the vmstor-60 driver, which is supposed to mount VMware images within the host OS. When sending the IOCTL code FsSetVoleInformation with subcode FsSetFileInformation with a large buffer and underreporting its size to at max 1024 bytes, it will underrun and potentially execute arbitrary code. Security focus

Our frozen chi's and the Workfloor

I left home when I was 20. I had studied Physics(Major) and had no idea what to do next. I took to the seas, I think looking back it was more like a refuge, an asylum. Seeking to get away from all that peer pressure, myself and what not. 1991 June 7, around midnight I arrive in Lagos, Nigeria. Company agent ships me to the nearby hotel to wait for my first “boat”. That's the first time in my life I saw a lot of people , a race totally different from ours. I was warned to be careful, protect my wallet, but they came across as just about any other regular folk. That was my “first encounter”. Funny, since then I have worked with all kinds of nationalities (Japanese, Chinese, Malaysians, Indonesians, Dutch, Scandinavians, Thai, Americans, Spanish, Argentinians,..I can go on and on). What I have learned in all that is that we are all so much alike. But on board a ship it is “ really ” different. Your job is crucial and you must work together. That makes you accept each other realistica...

A Collection of Threnodies : Part 1

Whale Fall ----------------- Dress me up in my new threads clasp my greasy palms grease my hair I'm ready for the fall Watch at all the decadence watching the avalanche I'm slipping down losing my buoyancy What's become of us where have we come this far, this close close to the doors I hear them, sublimal chants I'm on the run I race through the human sea I am the king! I'm the slave to my own undoings I'm the jester in my courtyard We jest as we run We're strolling on that thin rope we grope as we rope we're true heros we're the survivors we're the scavengers we're the friends we're the lovers we're the unbred Soon awaiting the fall we're lurking on us we're osedaxing us we're soon going to be done we'll soon be arrested *osedax(bone devourer, newly discovered marine genus) feeds on a fallen(sunken) whale carcass(which is also called a whale fall). Read more here