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

Virtualization: GlassHouse hopes to cash in with its IPO!

GlassHouse Technologies Inc. on Tuesday registered to raise as much as $100 million in an initial public offering that, despite the company's financial losses, could prove a hit with investors drawn to its focus on "virtualization" technology. The Framingham, Mass., company offers consulting services for companies that use virtualization software to improve the performance of corporate servers and cut costs in their data centers. GlassHouse also provides Internet-based data storage. "Software-as-a-service," or SaaS, companies and vendors of virtualization products have proved popular among investors in recent years as corporate customers seek alternatives to conventional packaged software. GlassHouse, with roots in both sectors, will test the strength of that interest, said Peter Falvey, managing director with Boston investment bank Revolution Partners. "It will be a bit of a bell weather," he says. "It's not as though it's the 15th SaaS m...