Deploying site on JBoss AS 7.0.2

Java JBoss
So I finally decided to give JBoss AS 7 as try. It required some minor modifications in data source JNDI names to migrate from Resin to JBoss. Specifically, I modified the JDBC JNDI to java:/uziblogds from jdbc/uziblog. Another change was to modify the DataSource injection. Instead of @Inject @Named("jdbc/uziblog"), JBoss was happier to use @Resource(mappedName="java:/uziblogds")