Tec Bar

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Java
  • JDBC
  • Hibernate
  • Algorithms
  • Design Patterns
  • Linux
  • Database
  • Others
  • Terms of Service
  • About

Category Archives: Java

  1. Pages:
  2. «
  3. 1
  4. 2
  5. 3
  6. 4

JDBC Create Table

Posted on February 20, 2015 by James
1

The post (“JDBC Create Table”) will give an example, and show how to create a table using JDBC. Continue reading →

Posted in Java, JDBC | 1 Reply

JDBC Drop Database

Posted on February 20, 2015 by James
1

The post (“JDBC Drop Database”) will give an example, and show how to drop a database using JDBC. Continue reading →

Posted in Java, JDBC | 1 Reply

JDBC Create Database

Posted on February 20, 2015 by James
1

The post (“JDBC Create Database”) will give an example, and show how to create a database using JDBC. Continue reading →

Posted in Java, JDBC | 1 Reply

Get JDBC Connection

Posted on February 19, 2015 by James
2

To get JDBC connection, normally there are two ways: 1. database driver manager 2. use data source Continue reading →

Posted in Java, JDBC | 2 Replies

JDBC by Examples

Posted on February 19, 2015 by James
Reply

The Java Database Connectivity (JDBC) API is a collection of classes and interfaces, and is the industry standard for database-independent connectivity between the Java programming language and a wide range of databases and other tabular data sources. Continue reading →

Posted in Java, JDBC | Tagged Java, JDBC | Leave a reply

Send HTTP Get Request in Java

Posted on February 17, 2015 by James
Reply

The post will give two examples to send HTTP GET requests using Java standard API or using Apache HttpClient.

1. The example using Java API URLConnection Continue reading →

Posted in Java | Leave a reply

Send HTTP POST request in Java

Posted on February 15, 2015 by James
Reply

The post will give two examples to send HTTP POST requests using Java standard API and Apache HttpClient.

1. The example using Java API HttpURLConnection Continue reading →

Posted in Java | Leave a reply

Synchronized vs ReentrantLock in Java

Posted on February 14, 2015 by James
Reply

Synchronized, ReentrantLock and AtomicInteger are used in many projects to help solve concurrency issue and thread safety. The post will compare Synchronized and ReentrantLock. Continue reading →

Posted in Java | Leave a reply

Convert Byte to Bit String (Java)

Posted on February 13, 2015 by James
1

It will give one implementation on how to convert byte to bit string (8 bits). For example: byte 5 will change to “00000101”, byte 8 will be “00001000”. Continue reading →

Posted in Java | 1 Reply

Configure c3p0 Connection Pool in Hibernate

Posted on February 12, 2015 by James
1

Normally, opening a connection to a database consumes more time than executing an SQL statement. Connection pools can help to reuse some connections without creating the connections frequently. In DAO layer, it will help to improve your system performance. Continue reading →

Posted in Hibernate, Java | 1 Reply
  1. Pages:
  2. «
  3. 1
  4. 2
  5. 3
  6. 4

Categories

  • Algorithms (29)
  • Database (3)
  • Design Patterns (12)
  • Hibernate (8)
  • Java (40)
  • JDBC (15)
  • Linux (17)
  • Others (18)

Recent Posts

  • UML Class Diagram and Relationships
  • Java Date Format Pattern
  • Gmail SMTP debug: error “please log in via your web browser”
  • Install Sendmail Server on CentOS
  • Difference between @Component, @Repository & @Service annotations in Spring

Recent Comments

  • Nagesh on Java HTTP client crashes on HTTPS connections
  • Uli on Java HTTP client crashes on HTTPS connections
  • Guest on How to check if a radio button is checked using JQuery
  • Burns on RAID 1 Repair on Linux
  • prateek on Java HTTP client crashes on HTTPS connections

© 2025 tecbar.net