background preloader

Java

Facebook Twitter

Java Tmp news

Eclipse (Java tuto) Java EE 7 with Angular JS – Part 1. Today’s post will show you how to build a very simple application using Java EE 7 and Angular JS.

Java EE 7 with Angular JS – Part 1

Before going there let me tell you a brief story: I have to confess that I was never a big fan of Javascript, but I still remember the first time I have used it. I don’t remember the year exactly, but probably around mid 90′s.

Java history

Java Sun / Oracle. Java version history. After the Java 7 release, Oracle promised to go back to a 2 year release cycle.[1] However, in 2013, Oracle announced that they would delay Java 8 by one year, in order to improve the Java security model.[2] JDK Alpha and Beta (1995)[edit] Alpha and Beta Java public releases had highly unstable APIs and ABIs.

Java version history

The supplied Java web browser was named WebRunner. JDK 1.0 (January 23, 1996)[edit] Note : In versions of Java and the JDK up to 1.0.1, private and protected keywords could be used together to create yet another form of protection that would restrict access to methods or variables solely to subclasses of a given class. JDK 1.1 (February 19, 1997)[edit] Major additions included:[5] J2SE 1.2 (December 8, 1998)[edit] Codename Playground. J2SE 1.3 (May 8, 2000)[edit] Codename Kestrel. J2SE 1.4 (February 6, 2002)[edit] Codename Merlin. Language changes Library improvements Support and security updates for Java 1.4 ended in October 2008.[11] J2SE 5.0 (September 30, 2004)[edit] Codename Tiger.

7 Releases by Date. Java SE EOL Policy (Oracle Java SE Support Roadmap) Oracle provides this updated roadmap for Javac SE and Oracle Java SE products (Oracle Java SE Support, Oracle Java SE Advanced, Oracle Java SE Advanced Desktop and Oracle Java SE Suite) to help customers better understand the maintenance and support options available.

Java SE EOL Policy (Oracle Java SE Support Roadmap)

Java SE major releases are publicly maintained for a minimum of 3 years from general availability date (GA date), or later, as described in the next section. Java SE releases are updated for the public with bug fixes, security fixes, and minor updates for a period of at least 3 years before the release reaches end-of-public-updates (EoPU). Oracle Java SE product releases - starting with Java SE 7 - are supported for no less than eleven (11) years from initial release date, enabling IT managers and ISVs to plan their upgrades according to their individual business practices. The following provides a more detailed review of the Java SE products support roadmap, along with examples specific to available major releases.

Java SE Support Roadmap. End of Java 7 Public Updates.

JPortable

Java Oops. Potential Warning. Java and other Language. Applet Java and HTML. GWT et PureMVC - ViaXoft. JavaCard. PureMVC. Java Network Launching Protocol (JNLP) World Wind JAVA SDK. Welcome: Here you will find the World Wind SDK for Java.

World Wind JAVA SDK

With this, developers can embed World Wind technology in their own applications. Many resources are available at goworldwind.org to help you understand and use World Wind.

Java & Lib

Apprendre Java. General (Java) URL (Java) Mehod tests. Gui. System. Memory (Java) Java/Security & Crypto. JNI. Regular Expression. Threading & synchronization. SGBD. Date time Java. Difference between Singleton Pattern vs Static Class in Java. Singleton pattern vs Static Class (a class, having all static methods) is another interesting questions, which I missed while blogging about Interview questions on Singleton pattern in Java.

Difference between Singleton Pattern vs Static Class in Java

Since both Singleton pattern and static class provides good accessibility, and they share some similarities e.g. both can be used without creating object and both provide only one instance, at very high level it looks that they both are intended for same task. Because of high level similarities, interviewer normally ask questions like, Why you use Singleton instead of Static Methods, or Can you replace Singleton with static class, and what are differences between Singleton pattern and static in Java. In order to answer these question, it’s important to remember fundamental difference between Singleton pattern and static class, former gives you an Object, while later just provide static methods.

XML

Generic in Java. Java annotation. Développer en Java. String Enconding (UTF-8 included) Data / structure / IO. Java Dev Tools & tips. Festselenium - fest + selenium for applet automation testing. In-browser applet testing can now be accomplished using festselenium in conjunction with Selenium RC.

festselenium - fest + selenium for applet automation testing

The purpose of this project is provide a java driver to commnuicate with Selenium then drive the fest-swing to do applet automation acceptance testing. This project relies heavily on the GetEval provided by selenium.

Stand-Alone Java Application

Download JDK (Archive) Java Debug. Traces (java/deployment/log) Java Applet. Servlet. Java Platform Debugger Architecture. FAQ/Developing. About This section of the FAQ discusses common questions related to Tomcat development. Questions Answers Hacking How do I start hacking Tomcat in Eclipse? Briefly: $ svn checkout (or whatever branch you want: clearly, this would be better to do directly from within Eclipse but it's easier to describe as a command) $ cd trunk $ echo "base.path=/path/to/where/tomcat/can/put/its/3rd-party/libs" > build.properties $ ant ide-eclipse Then, in Eclipse, go to Preferences | Java/Build Path/Classpath Variables and set the following variables: ANT_HOME=path to your Ant install (where lib/ant.jar can be found) TOMCAT_LIBS_BASE=[whatever you set base.path to above] If you look in (project root)/res/ide-support/eclipse/java-compiler-errors-warnings.txt, you'll see a set of compiler warnings and import organization rules that you will have to set up manually in your project.

A full explanation for Tomcat in Eclipse can be found here: Debugging How do I configure Tomcat to support remote debugging? Other. JSP Quick Guide. What is JavaServer Pages?

JSP Quick Guide

JavaServer Pages (JSP) is a technology for developing web pages that support dynamic content which helps developers insert java code in HTML pages by making use of special JSP tags, most of which start with <% and end with %>. A JavaServer Pages component is a type of Java servlet that is designed to fulfill the role of a user interface for a Java web application. Web developers write JSPs as text files that combine HTML or XHTML code, XML elements, and embedded JSP actions and commands. Using JSP, you can collect input from users through web page forms, present records from a database or another source, and create web pages dynamically. JSP tags can be used for a variety of purposes, such as retrieving information from a database or registering user preferences, accessing JavaBeans components, passing control between pages and sharing information between requests, pages etc.

Interview avec James Gosling, Le Père du Java.