Showing posts with label info. Show all posts
Showing posts with label info. Show all posts

Sunday, October 27, 2013

How Java Helped Oracle Team USA Win the America's Cup

To know how Oracle Team USA relies on a wireless Java system for real-time data to improve performance on the racecourse. Read on Java Magazine.




Oracle Team USA wins America's Cup - CNN Newsroom Sep 26, 2013

Sunday, October 6, 2013

15 Sorting Algorithms in 6 Minutes

15 Sorting Algorithms in 6 Minutes

Visualization and "audibilization" of 15 Sorting Algorithms in 6 Minutes. Sorts random shuffles of integers, with both speed and the number of items adapted to each algorithm's complexity.

The algorithms are: selection sort, insertion sort, quick sort, merge sort, heap sort, radix sort (LSD), radix sort (MSD), std::sort (intro sort), std::stable_sort (adaptive merge sort), shell sort, bubble sort, cocktail shaker sort, gnome sort, bitonic sort and bogo sort (30 seconds of it).

More information on the "Sound of Sorting" at http://panthema.net/2013/sound-of-sorting

Saturday, September 7, 2013

JavaFX photo application demo

JavaFX photo application created by Felipe Pedroso


Wednesday, July 24, 2013

OpenWeatherMap

The OpenWeatherMap service provides free weather data and forecast API suitable for any cartographic services like web and smartphones applications. Ideology is inspired by OpenStreetMap and Wikipedia that make information free and available for everybody. OpenWeatherMap provides wide range of weather data such as map with current weather, week forecast, precipitation, wind, clouds, data from weather Stations and many others. Weather data is received from global Meteorological broadcast services and more than 40 000 weather stations.

All weather data can be obtained in JSON, XML or HTML format.

http://openweathermap.org/

For example, you can search weather of London in JSON format with "http://api.openweathermap.org/data/2.5/weather?q=London,uk". The return result will be like this:

{"coord":{"lon":-0.12574,"lat":51.50853},"sys":{"country":"GB","sunrise":1374639224,"sunset":1374696019},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"base":"gdps stations","main":{"temp":297,"humidity":61,"pressure":1011,"temp_min":295.37,"temp_max":298.71},"wind":{"speed":0.51,"gust":0.51,"deg":199},"clouds":{"all":76},"dt":1374693664,"id":2643743,"name":"London","cod":200}


Examples:
Parse JSON with Java SE and java-json, to search weather data from OpenWeatherMap.
Embed OpenWeatherMap in JavaFX WebView
Another example to embed Open Weather Map in JavaFX WebView


Tuesday, July 23, 2013

Introduction to Java API for JSON Processing

JSON (JavaScript Object Notation) is a lightweight, text-based, language-independent data exchange format that is easy for humans and machines to read and write.

The document Java API for JSON Processing: An Introduction to JSON introduce using the portable APIs to parse, generate, transform, and query JSON.

Friday, March 15, 2013

Play Framework - Build Modern and Scalable Web Apps with Java and Scala

Play is a high-productivity Java and Scala web application framework that integrates the components and APIs you need for modern web application development.

Play is based on a lightweight, stateless, web-friendly architecture and features predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications thanks to its reactive model, based on Iteratee IO.



Website: http://www.playframework.com/

Thursday, January 17, 2013

US-CERT updated Java flaw affected system add OpenJDK and IcedTea

US-CERT (http://www.us-cert.gov/cas/techalerts/TA13-010A.html) updated to add OpenJDK and IcedTea in Systems Affected list.

US-CERT updated Java flaw affected system add OpenJDK and IcedTea
US-CERT updated Java flaw affected system add OpenJDK and IcedTea


And also state the solution of udating Java 7 Update 11:

Solution

Update Java

Oracle Security Alert CVE-2013-0422 states that Java 7 Update 11 (7u11) addresses this (CVE-2013-0422) and a different but equally severe vulnerability (CVE-2012-3174). Java 7 Update 11 sets the default Java security settings to "High" so that users will be prompted before running unsigned or self-signed Java applets.

Saturday, January 12, 2013

Alert: Oracle Java 7 Security Manager Bypass Vulnerability

A vulnerability in the Java Security Manager allows a Java applet to grant itself permission to execute arbitrary code. An attacker could use social engineering techniques to entice a user to visit a link to a website hosting a malicious Java applet. An attacker could also compromise a legitimate web site and upload a malicious Java applet (a "drive-by download" attack).

Any web browser using the Java 7 plug-in is affected. The Java Deployment Toolkit plug-in and Java Web Start can also be used as attack vectors.

Reports indicate this vulnerability is being actively exploited, and exploit code is publicly available.

Source: http://www.us-cert.gov/cas/techalerts/TA13-010A.html

Oracle Java 7 Security Manager Bypass Vulnerability
Oracle Java 7 Security Manager Bypass Vulnerability


Further technical details are available in Vulnerability Note VU#625617.

Vulnerability Note VU#625617: Java 7 fails to restrict access to privileged code
Vulnerability Note VU#625617: Java 7 fails to restrict access to privileged code


To disable Java in browser, read:


Monday, September 17, 2012

j2objc - A Java to iOS Objective-C translation tool and runtime



J2ObjC is an open-source command-line tool from Google that translates Java code to Objective-C for the iOS (iPhone/iPad) platform. This tool enables Java code to be part of an iOS application's build, as no editing of the generated files is necessary. The goal is to write an app's non-UI code (such as data access, or application logic) in Java, which is then shared by web apps (using GWT), Android apps, and iOS apps.

J2ObjC supports most Java language and runtime features required by client-side application developers, including exceptions, inner and anonymous classes, generic types, threads and reflection. JUnit test translation and execution is also supported.

J2ObjC is currently between alpha and beta quality. Several Google projects rely on it, but when new projects first start working with it, they usually find new bugs to be fixed. Apparently every Java developer has a slightly different way of using Java, and the tool hasn't translated all possible paths yet. It's initial version number is 0.5, which hopefully represents its release status correctly.

Project Home: http://code.google.com/p/j2objc/

Wednesday, September 5, 2012

55 New Things in Java 7 - GUI


Part of an ongoing series of 55 new things in Java 7. This edition features 8 GUI changes that were part of Java 7

Sunday, December 11, 2011

Java Windows Azure Introduction

Learn how to build and deploy a simple application to Windows Azure using Java.




Sunday, September 25, 2011

JDK 7 in a Nutshell



O'Reilly OSCON Java 2011: Joe Darcy, "JDK 7 in a Nutshell"

Sunday, September 18, 2011

Java Magazine for FREE

Java Magazine is published on a bi-monthly basis in digital and mobile formats. It includes:
  • Profiles of innovative Java applications
  • Java technical how-to’s: Enterprise Java, New to Java, Rich Client, Polyglot Programming, and more
  • Java community news: Java User Groups, JCP standards, and more
  • Information about new Java books and conferences and events





http://www.oracle.com/technetwork/java/javamagazine/index.html

Java@Wiki

Java
Java is a programming language originally developed by James Gosling at Sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture. Java is a general-purpose, concurrent, class-based, object-oriented language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere." Java is currently one of the most popular programming languages in use, particularly for client-server web applications.



The original and reference implementation Java compilers, virtual machines, and class libraries were developed by Sun from 1995. As of May 2007, in compliance with the specifications of the Java Community Process, Sun relicensed most of its Java technologies under the GNU General Public License. Others have also developed alternative implementations of these Sun technologies, such as the GNU Compiler for Java, GNU Classpath, and Dalvik.



Ref: Wikipedia - Java (programming language)

Java-Buddy

Java Buddy

http://java-buddy.blogspot.com/