1 / 4

EJB Getting start ed

EJB Getting start ed. Database: MySql Application Server: Pramati Server Ambiente di sviluppo: Pramati Studio 3 Applicazione esempio: Logon. Trento, 30/10/2002. GET MySql & Pramati. Download: MySql: www.mySql.com mySql Application mySql Driver (Jconnector)

collin
Download Presentation

EJB Getting start ed

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EJB Getting started • Database: MySql • Application Server: Pramati Server • Ambiente di sviluppo: Pramati Studio 3 • Applicazione esempio: Logon Trento, 30/10/2002

  2. GET MySql & Pramati • Download: • MySql: www.mySql.com • mySql Application • mySql Driver (Jconnector) • Pramati Studio: www.Pramati.com • Pramati Studio EJB Introduction

  3. Installazione Pramati Requisiti: • JDK 1.3.1_01; Viene richiesto il percorso durante l’installazione • MySql Driver (mm.mysql-2.0.14-bin.jar / mysql-connector)-2.0.14.jar; • Serial Number (get it from http://www1.pramati.com/install/studio30/index.htm). Configurazione: • in <install-dir>\server\lib\tp\ copiare il file mm.mysql-2.0.4-bin.jar; • in <install-dir>\runstudio.bat aggiungere il driver al classpath, in questo modo: CLASSPATH=%JAVA_HOME%\........\RmiJdbc.jar;%install.root%\server\lib\tp\mm.mysql-2.0.4-bin.jar; EJB Introduction

  4. Start Pramati Studio • menu Tools/Server Configuration aggiungere il path a mm.mysql-2.0.4-bin.jar • Creare un nuovo file di progetto (desk) • Creare una risorsa database per il progetto: menu Tools/Resources , inserire: • JNDI name (verrà usato per il lookup della risorsa nel codice); • MySql Driver : class org.gjt.mm.mysql.Driver • User/password per accedere a mySQL ; • URL jdbc:mysql://localhost/<NOMEDB>, per accedere all’installazione di mysql. EJB Introduction

More Related