-
Enterprise Java
JSF: Validation at the right phase (understanding the life cycle)
Hi everyone! Although the title emphasises the word validation, this article is actually about the JSF life cycle. That’s because…
Read More » -
Core Java
I Found My Java Remake!
Back in January, I wrote a post about some changes I would love to see in the Java language that…
Read More » -
Enterprise Java
Spring Batch Tutorial – The ULTIMATE Guide
This is Spring batch tutorial which is part of the Spring framework. Spring Batch provides reusable functions that are essential in processing…
Read More » -
Groovy
Excellent! Groovy Intends to Join Apache Software Foundation
In the post “Total Bummer: Pivotal Drops Groovy“, I briefly wrote about Pivotal’s decision to drop Groovy and hoped that…
Read More » -
Career
How to Land a Software Engineering Job?
The other day I read this piece by David Byttow on “How to land an engineering job”. And I don’t…
Read More » -
Core Java
10 Java Articles Everyone Must Read
One month ago, we’ve published a list of 10 SQL Articles Everyone Must Read. A list of articles that we…
Read More » -
Enterprise Java
CDI & EJB: Sending asynchronous mail on transaction success
Hello again! :) This time I’ve chosen a common task that most of the time, in my opinion, is done…
Read More » -
Enterprise Java
Apache Wicket with Lambda Expressions
What’s up? :) I’ve been working on some projects that thankfully use Apache Wicket for the presentation layer. It naturally…
Read More » -
Java核心
JDBC入门教程 – 终极指南
本教程主要介绍JDBC(Java数据库连接)—— 一个Oracle提供的API,它可以帮助程序员处理Java应用程序中不同数据库的访问问题:程序员可以通过它建立与数据库的连接;定义特定的客户端使之可以访问给定的数据库;提供一种能够读取、插入、更新和删除数据库中的数据项的机制;以及控制由不同SQL语句组成的事务。 在本文中我们会介绍主要的JDBC组件,包括声明(Statement)、结果集(Result Set)、存储过程(Stored Procedure)。 程序员们需要针对不同的数据库提供相应的驱动程序;在后面的章节我们会结合一些实例来详细解释。 JDBC是伴随Java的产生而产生的;它的第一个版本产生于1997年2月,也就是JDK1.1的发布日期;自那以后,JDBC已经成为Java的一个重要组成部分。JDBC相关的主要包有: http://docs.oracle.com/javase/8/docs/api/java/sql/package-summary.html 和http://docs.oracle.com/javase/8/docs/api/javax/sql/package-summary.html. 关于JDBC的最新版本和开发、维护信息可以访问JSR 221获得。 本文中的所有例子的实现环境是Java 8 update 0_25和Eclipse SDK Luna 4.4. 你可以在本文的最后下载所有这些例子,而且还可以下载其他更多的例子! 目录 1. 组件(Components) 2. 数据库连接(Connections) 3. 数据类型(Data types) 4. 驱动程序(Drivers) 5. 数据库(Databases) 6. 结果集(Result…
Read More »