Avatar of prashubk
prashubkFlag for Singapore

asked on 

JBoss and MySql

i want to install and use JBoss appserver to run J2EE applications developed (using its free)
want to use MYSql Database to create tables/practice procedures/packages/sqls etc..

applications running on JBoss should be connecting to the respective schema/table created on MySql server

i want to setup an environment comprising the above.How to get this up and running

Please note,I want to install it on windows 7 running (machine configuration:4GB RAM,650GB hard disk,Intell i5 Processor)
ProgrammingMySQL ServerJava App Servers

Avatar of undefined
Last Comment
colr__
Avatar of colr__
colr__

Once JBoss is deployed, you'll need to add an xml file that defines the datasource. This file is placed in the JBoss deploy folder alongside your applications. This xml file binds the specifed data source to a jndi name, which then becomes available to your java app via the standard jndi datasource lookup (i.e. via your web.xml).

This article here details mysql - it also describes the sample *-ds.xml files that are packaged with JBoss that you can use a a basis:

http://docs.jboss.org/jbossas/getting_started/v4/html/db.html
Avatar of colr__
colr__

Tat last link was for v4 JBoss, this is for v4, however they look identical to me:

http://docs.jboss.org/jbossas/getting_started/v5/html/db.html
ASKER CERTIFIED SOLUTION
Avatar of colr__
colr__

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Programming
Programming

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.

55K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo