Skip to main content

EJB 3.1 Support in JBoss 6.0M2 – Building JBoss

JBoss recently announced that initial support for EJB 3.1 will be available in the upcoming JBoss 6.0 M2 application server.

At present, the EJB 3.1 functionality supported is:

  • developing EJBs without declaring interfaces; and
  • deploying EJBs in WAR files

Since JBoss AS 6.0 M2 isn’t currently available, the best way to get it to try out this new finctionality is to check the source out from the JBoss Subversion repository and build the application server.

Building JBoss AS 6.0 from the trunk is very straightforward to build. To checkout and build the code, you need to have Subversion and Maven installed on your development system.

The code can be checked out from the anonymous JBoss Subversion repository:

svn co http://anonsvn.jboss.org/repos/jbossas/trunk

After checking out (which may take up to an hour or more), the source can be built using the build/build.bat (build/build.sh) command or by using Maven.

> cd trunk\build
> mvn clean install

After about 10 minutes or so, you should have a snapshot build of the upcoming JBoss 6.0. The distribution is placed in the build\target\jboss-6.0.0-SNAPSHOT directory.

> cd target\jboss-6.0.0-SNAPSHOT\bin
> run.bat
Calling E:\Develop\jboss6\trunk\build\target\jboss-6.0.0-SNAPSHOT\bin\run.conf.bat
===============================================================================

JBoss Bootstrap Environment

JBOSS_HOME: E:\Develop\jboss6\trunk\build\target\jboss-6.0.0-SNAPSHOT

JAVA: C:\Program Files\Java\jdk1.6.0_18\bin\java

JAVA_OPTS: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M 
-Dsun.rmi.dgc.client.gcInterval=3600000 
-Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -server

CLASSPATH: C:\Program Files\Java\jdk1.6.0_18\lib\tools.jar;
E:\Develop\jboss6\trunk\build\target\jboss-6.0.0-SNAPSHOT\bin\run.jar

===============================================================================

19:46:47,792 INFO [AbstractJBossASServerBase] Server Configuration:

JBOSS_HOME URL: file:/E:/Develop/jboss6/trunk/build/target/jboss-6.0.0-SNAPSHOT/
Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
Common Base: $JBOSS_HOME\common/
Common Library: $JBOSS_HOME\common/lib/
Server Name: default
Server Base: $JBOSS_HOME\server/
Server Library: $JBOSS_HOME\server/default/lib/
Server Config: $JBOSS_HOME\server/default/conf/
Server Home: $JBOSS_HOME\server/default/
Server Data: $JBOSS_HOME\server/default/data
Server Log: $JBOSS_HOME\server/default/log/
Server Temp: $JBOSS_HOME\server/default/tmp

19:46:47,855 INFO [AbstractServer] Starting: JBossAS
[6.0.0.SNAPSHOT (build: SVNTag=JBoss_6.0.0-SNAPSHOT date=r99956)]

Comments

Popular posts from this blog

Creating a Joke Application in React

Introduction I've recently started learning React. I've been a backend developer for a long time, but have started to love doing client side work. As they say, the best way to learn is to practise. So here is a simple joke application that I've written in React. The source code for the application can be found on GitHub at: https://github.com/doobrie/react-joke Creating the project Whilst practising, I've quite often created projects from scratch, but this is quite tedious as the same steps need to be taken for each project. I needed to create the project structure, configure Babel, write some control scripts etc. Instead of doing that this time, I've used the create-react-app tool to scaffold the basics of an application. npx create-react-app This sets up everything that you need to get started with a React app. Coding As this is a simple project, I've created one react component, function app() . I've created this as a functional c...

Changing Default Search Provider in Firefox on Linux Mint

On Linux Mint, the default version of Firefox is installed and configured to allow the following search engines to be queried directly from the address bar: Yahoo! Startpage DuckDuckGo Wikipedia Mint defines these as the default available set of search engines based upon 3 criteria (funding to Linux Mint, privacy support and whether the search engine is non-commercial). Other search engines such as Google, Bing or Twitter, etc. can easily be added into the default version of Firefox however. To add a different search provider, browse to Search Engines At the bottom of the page, click on the icon of the requested search engine, then click on the ... button in the URL bar and select the Add Search Engine option. You then have the option to change the default search engine within Firefox preferences to your new choice.

The new Eclipse logo

In a blog post today, Ian Skerrett has announced the new logo for Eclipse. Last fall we [The Eclipse Foundation] started a process to  update the Eclipse logo . The existing logo had not been change since Eclipse was launched and it was showing its age. I am happy to announce we have finished the process and am pleased to introduce the updated Eclipse logo. The new logo has a fresh modern look to it, which I think is a good improvement and will stand Eclipse in good stead for the future. The new logo will be included with the next Eclipse release train, Luna, and gradually rolled out across the Eclipse site and projects. What do you think?  Do you like the new logo?  Add your comments below.