background preloader

Programming

Facebook Twitter

The Java™ Tutorials. The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications.

The Java™ Tutorials

They include hundreds of complete, working examples, and dozens of lessons. Groups of related lessons are organized into "trails". The Java Tutorials primarily describe features in Java SE 8. For best results, download JDK 8. What's New The Java Tutorials are continuously updated to keep up with changes to the Java Platform and to incorporate feedback from our readers. This release of the tutorial corresponds to the JDK 8u101 release. Installing Tomcat. GetStartedwithJavaDB. Introduction Java DB is Sun's supported distribution of the open source Apache Derby 100% Java technology database.

GetStartedwithJavaDB

It is fully transactional, secure, easy-to-use, standards-based — SQL, JDBC API, and Java EE — yet small, only 2MB. Best Programming Quotations. A good programmer is someone who looks both ways before crossing a one-way street. -- Doug Linder, systems administrator A most important, but also most elusive, aspect of any tool is its influence on the habits of those who train themselves in its use.

Best Programming Quotations

If the tool is a programming language this influence is, whether we like it or not, an influence on our thinking habits. -- Edsger Dijkstra, computer scientist Being abstract is something profoundly different from being vague... The purpose of abstraction is not to be vague, but to create a new semantic level in which one can be absolutely precise. -- Edsger Dijkstra Besides a mathematical inclination, an exceptionally good mastery of one's native tongue is the most vital asset of a competent programmer. -- Edsger Dijkstra C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg. -- Bjarne Stroustrup, developer of the C++ programming language.

TIOBE Software: Tiobe Index. TIOBE Index for January 2016 January Headline: Java is TIOBE's Programming Language of 2015!

TIOBE Software: Tiobe Index

Java has won the TIOBE Index programming language award of the year. This is because Java has the largest increase in popularity in one year time (+5.94%). Java leaves runner ups Visual Basic.NET (+1.51%) and Python (+1.24%) far behind. Java 7: Project Coin in code examples. This blog introduces - by code examples - some new Java 7 features summarized under the term Project Coin.

Java 7: Project Coin in code examples

The goal of Project Coin is to add a set of small language changes to JDK 7. These changes do simplify the Java language syntax. Less typing, cleaner code, happy developer ;-) Let's look into that. Connecting to a MySQL Database. This document demonstrates how to set up a connection to a MySQL database from the NetBeans IDE.

Connecting to a MySQL Database

Once connected, you can begin working with MySQL in the IDE's Database Explorer by creating new databases and tables, populating tables with data, and running SQL queries on database structures and content. This tutorial is designed for beginners with a basic understanding of database management, who want to apply their knowledge to working with MySQL in NetBeans IDE. MySQL is a popular Open Source relational database management system (RDBMS) commonly used in web applications due to its speed, flexibility and reliability. MySQL employs SQL, or Structured Query Language, for accessing and processing data contained in databases.

NetBeans. The NetBeans IDE is written in Java and can run on Windows, OS X, Linux, Solaris and other platforms supporting a compatible JVM.

NetBeans

The NetBeans Platform allows applications to be developed from a set of modular software components called modules. Applications based on the NetBeans Platform (including the NetBeans IDE itself) can be extended by third party developers.[4] The NetBeans Team actively support the product and seek future suggestions from the wider community. Integrated development environment. An integrated development environment (IDE) or interactive development environment is a software application that provides comprehensive facilities to computer programmers for software development.

Integrated development environment

An IDE normally consists of a source code editor, build automation tools and a debugger. Most modern IDEs offer Intelligent code completion features. Overview[edit] One aim of the IDE is to reduce the configuration necessary to piece together multiple development utilities, instead providing the same set of capabilities as a cohesive unit. Reducing that setup time can increase developer productivity, in cases where learning to use the IDE is faster than manually integrating all of the individual tools. While most modern IDEs are graphical, text-based IDEs such as Turbo Pascal were in popular use before the widespread availability of windowing systems like Microsoft Windows and the X Window System (X11).

History[edit] IDEs initially became possible when developing via a console or terminal. Spring Framework. The Spring Framework is an open source application framework and inversion of control container for the Java platform.

Spring Framework

The framework's core features can be used by any Java application, but there are extensions for building web applications on top of the Java EE platform. Although the framework does not impose any specific programming model, it has become popular in the Java community as an alternative to, replacement for, or even addition to the Enterprise JavaBean (EJB) model. Version history[edit] Modules[edit] The Spring Framework includes several modules that provide range of services: Inversion of control container (dependency injection)[edit] Objects created by the container are also called managed objects or beans.