null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
391379
Incorporar Banco de Dados na Aplicação Java
Description
Mind Map on Incorporar Banco de Dados na Aplicação Java, created by maria.aliny18 on 11/26/2013.
Mind Map by
maria.aliny18
, updated more than 1 year ago
More
Less
Created by
maria.aliny18
about 11 years ago
33
0
0
Resource summary
Incorporar Banco de Dados na Aplicação Java
Configuração
1. Instalar o SGBD (MySQL)
2. Baixar o driver do MySQL.
3. Configurar no Ambiente de desenvolvimento (Eclipse)
a) Properties
b) Java Build Path
c) Libraries
d) Add External Jars (Add jar do driver)
Criar
Banco de dados
Projeto Eclipse
Classe "TesteBD"
Dentro do Try/Catch; cuide das exceções
Método Static; tipo: connection
Declarar Variáveis
Connection
Nome do Driver
Nome do Servidor
Nome do BD
Usuário
Senha
Url ("jdbc:mysql://" + NomeServidor + "/" + NomeBD;)
Métodos
Class.forName(Nome do Driver);
DriverManager.getConnection(url, usuário, senha);
Retorna uma Conexão
Classe "Principal"
Instancie a classe TesteBD
Fazer a chamada dos métodos
Show full summary
Hide full summary
Want to create your own
Mind Maps
for
free
with GoConqr?
Learn more
.
Similar
Organelles and their functions
handrews
B7: Further Biology
Matthew Law
Salesforce Developer 401
Jonas wiesel
Conceptos Generales De Robótica
fede ramos
Parts of the Brain
Laura Jin
Roles of Education
Isobel Wagner
Edexcel Additional Science Biology Topic 2- Life Processes
hchen8nrd
National 5 - Physics Unit 2 waves & Radiation
rachel8899
Science Flash Cards
Em Roberts
AN ECONOMIC OVERVIEW OF IRELAND AND THE WORLD 2015/16
John O'Driscoll
Philosophy - p1
Temirlan Shablin
Browse Library