background preloader

Integrated development environment

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. 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. 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. Maestro I is a product from Softlab Munich and was the world's first integrated development environment[1] 1975 for software. Topics[edit] Visual programming[edit]

The switch Statement (The Java™ Tutorials > Learning the Java Language > Language Basics) Unlike if-then and if-then-else statements, the switch statement can have a number of possible execution paths. A switch works with the byte, short, char, and int primitive data types. It also works with enumerated types (discussed in Enum Types), the String class, and a few special classes that wrap certain primitive types: Character, Byte, Short, and Integer (discussed in Numbers and Strings). The following code example, SwitchDemo, declares an int named month whose value represents a month. In this case, August is printed to standard output. The body of a switch statement is known as a switch block. You could also display the name of the month with if-then-else statements: int month = 8; if (month == 1) { System.out.println("January"); } else if (month == 2) { System.out.println("February"); } ... // and so on Deciding whether to use if-then-else statements or a switch statement is based on readability and the expression that the statement is testing. This is the output from the code:

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.[4] 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[5] History[edit] NetBeans IDE Releases[6] NetBeans began in 1996 as Xelfi (word play on Delphi),[7][8] a Java IDE student project under the guidance of the Faculty of Mathematics and Physics at Charles University in Prague. Current versions[edit] 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[edit]

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[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. 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[edit] Data access framework[edit]

Aspect-oriented programming Programming paradigm AOP includes programming methods and tools that support the modularization of concerns at the level of the source code, while aspect-oriented software development refers to a whole engineering discipline. History[edit] Gregor Kiczales and colleagues at Xerox PARC developed the explicit concept of AOP and followed this with the AspectJ AOP extension to Java. IBM's research team pursued a tool approach over a language design approach and in 2001 proposed Hyper/J and the Concern Manipulation Environment, which have not seen wide usage. The examples in this article use AspectJ. The Microsoft Transaction Server is considered to be the first major application of AOP followed by Enterprise JavaBeans.[3][4] Motivation and basic concepts[edit] Typically, an aspect is scattered or tangled as code, making it harder to understand and maintain. For example, consider a banking application with a conceptually very simple method for transferring an amount from one account to another:[5]

Eclipse (software) The initial codebase originated from IBM VisualAge.[2] 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[3]). 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.[8] The Association for Computing Machinery recognized Eclipse with the 2011 ACM Software Systems Award on 26 April 2012.[9] 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.[1] 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

Concurrency (The Java™ Tutorials > Essential Classes) Computer users take it for granted that their systems can do more than one thing at a time. They assume that they can continue to work in a word processor, while other applications download files, manage the print queue, and stream audio. Even a single application is often expected to do more than one thing at a time. For example, that streaming audio application must simultaneously read the digital audio off the network, decompress it, manage playback, and update its display. Even the word processor should always be ready to respond to keyboard and mouse events, no matter how busy it is reformatting text or updating the display. Software that can do such things is known as concurrent software. The Java platform is designed from the ground up to support concurrent programming, with basic concurrency support in the Java programming language and the Java class libraries.

TIOBE Software: Tiobe Index TIOBE Index for January 2016 January Headline: Java is TIOBE's Programming Language of 2015! 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's rise goes hand in hand with Objective-C's decline (-5.88%). So what is the outlook for 2016? The TIOBE Programming Community index is an indicator of the popularity of programming languages. The index can be used to check whether your programming skills are still up to date or to make a strategic decision about what programming language should be adopted when starting to build a new software system. TIOBE Programming Community IndexSource: Java Python Visual Basic .NET JavaScript Assembly language Ruby Other programming languages The complete top 50 of programming languages is listed below. The Next 50 Programming Languages Very Long Term History