NetBeans The NetBeans IDE is written in Java and can run on Windows, OS X, Linux, Solaris and other platforms supporting a compatible JVM. 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. The NetBeans Team actively support the product and seek future suggestions from the wider community. Every release is preceded by a time for Community testing and feedback History NetBeans IDE Releases NetBeans began in 1996 as Xelfi (word play on Delphi), a Java IDE student project under the guidance of the Faculty of Mathematics and Physics at Charles University in Prague. Current versions NetBeans IDE 6.5, released in November 2008, extended the existing Java EE features (including Java Persistence support, EJB 3 and JAX-WS). NetBeans IDE 7.0 was released in April 2011. NetBeans Platform
Spring Framework The Spring Framework is an open source application framework and inversion of control container for the Java platform. 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 Modules The Spring Framework includes several modules that provide range of services: Inversion of control container (dependency injection) Objects created by the container are also called managed objects or beans. In many cases one need not use the container when using other parts of the Spring Framework, although using it will likely make an application easier to configure and customize. Aspect-oriented programming framework Data access framework
Eclipse (software) The initial codebase originated from IBM VisualAge. The Eclipse software development kit (SDK), which includes the Java development tools, is meant for Java developers. Users can extend its abilities by installing plug-ins written for the Eclipse Platform, such as development toolkits for other programming languages, and can write and contribute their own plug-in modules. Released under the terms of the Eclipse Public License, Eclipse SDK is free and open source software (although it is incompatible with the GNU General Public License). It was one of the first IDEs to run under GNU Classpath and it runs without problems under IcedTea. Eclipse began as a Smart Canada project. Eclipse 3.0 (released on 21 June 2004) selected the OSGi Service Platform specifications as the runtime architecture. The Association for Computing Machinery recognized Eclipse with the 2011 ACM Software Systems Award on 26 April 2012. Legend: Old version Older version, still supported Latest version
Connecting to a MySQL Database This document demonstrates how to set up a connection to a MySQL database from the NetBeans IDE. 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. Expected duration: 30 minutes Contents To follow this tutorial, you need the following software and resources. Note: This tutorial assumes that you already have the MySQL RDBMS installed and configured on your computer. Configuring MySQL Server Properties NetBeans IDE comes bundled with support for the MySQL RDBMS. Starting the MySQL Server Creating Database Tables See Also
Archimedes Archimedes of Syracuse (Greek: Ἀρχιμήδης; c. 287 BC – c. 212 BC) was a Greek mathematician, physicist, engineer, inventor, and astronomer. Although few details of his life are known, he is regarded as one of the leading scientists in classical antiquity. Among his advances in physics are the foundations of hydrostatics, statics and an explanation of the principle of the lever. He is credited with designing innovative machines, including siege engines and the screw pump that bears his name. Unlike his inventions, the mathematical writings of Archimedes were little known in antiquity. Biography Archimedes was born c. 287 BC in the seaport city of Syracuse, Sicily, at that time a self-governing colony in Magna Graecia, located along the coast of Southern Italy. Archimedes died c. 212 BC during the Second Punic War, when Roman forces under General Marcus Claudius Marcellus captured the city of Syracuse after a two-year-long siege. Discoveries and inventions Archimedes' principle Heat ray
Java 7: Project Coin in code examples This blog introduces - by code examples - some new Java 7 features summarized under the term Project Coin. 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. Prerequisites Install Java 7 SDK on your machine Install Eclipse Indigo 3.7.1 You need to look out for the correct bundles for your operating system. In your Eclipse workspace you need to define the installed Java 7 JDK in your runtime. Next you need to set the compiler level to 1.7 in Java > Compiler. Project Coin Improved literals A literal is the source code representation of a fixed value. "In Java SE 7 and later, any number of underscore characters (_) can appear anywhere between digits in a numerical literal. Notice the underscores in the literals (e.g. 1234_5678_9012_3456L). With underscores: 1234567890123456 -764832622 Without underscores: 1234567890123456 -764832622 SafeVarargs Diamond
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. 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 Good code is its own best documentation.
GetStartedwithJavaDB Introduction Java DB is Sun's supported distribution of the open source Apache Derby 100% Java technology database. It is fully transactional, secure, easy-to-use, standards-based — SQL, JDBC API, and Java EE — yet small, only 2MB. The Apache Derby project has a strong and growing community that includes developers from large companies such as Sun Microsystems and IBM as well as individual contributors.It is shipped with JDK 1.6 and NetBeans 6. The aim of this tutorial is to get you started with using Java DB in your Java console applications using NetBeans. I recommend having the JDBC tutorial shipped with The Java Tutorial. Close all the other projects that may be open in NetBeans, and then proceed. Softwares Used NetBean 6 M10 JDK 1.6 Java DB (bundled) Start Java DB Go to Tools->Java DB Database and Start the Java DB server Creating the Database: For the purpose of this tutorial, we shall create a simple database in Java DB named as "SimpleDBDemo". Create a Table Populate the Table Java Code
Installing Tomcat This is a brief "how-to" for installing Tomcat on a Windows PC. Installing Java Tomcat requires java in order to run. If your computer already has java installed, you can probably skip this step. However, make sure you have a recent version of java. Steps for installing java Go to the download page of J2SE Version 1.4.2. Setting the Java Environment Variable Tomcat will need to know where you have installed java. Here are the steps for setting the environment variable on my computer (Windows XP Professional). Open the control panel under the start menu. Installing Tomcat After setting the JAVA_HOME environment variable, you can install tomcat. Go to the Tomcat Web page. Running Tomcat Here are the steps to see if Tomcat has been successfully installed Start Tomcat by finding its start program in the Programs Menu (located in the Start menu). At this point, you should see the Tomcat home page, which is provided by the Tomcat Web server running on your computer. . Windows 98/Me.
The Java™ Tutorials The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. 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. Two new processing limit properties, entityReplacementLimit and maxXMLNameLimit, have been added to JAXP. Trails Covering the Basics These trails are available in book form as The Java Tutorial, Sixth Edition. Creating Graphical User Interfaces Creating a GUI with Swing — A comprehensive introduction to GUI creation on the Java platform.Creating a JavaFX GUI — A collection of JavaFX tutorials. Specialized Trails and Lessons