background preloader

Java bookmarks

Facebook Twitter

Joeffice - The open source Java Office. Takipi - Server Debugging Made Easy. Recent Java 8 News. Java 8 developments are starting to dominate the news again.

Recent Java 8 News

Recent posts cover extending Milestone 7 of JDK 8 to ensure its feature complete, the Date/Time API now available in Java 8, and updates to the Java Tutorials to cover some Java 8 features. Extending JDK 8 M7 Mark Reinhold wrote in JDK 8 M6 status, and extending M7 that the "best results" of an M7 "Developer Preview Release" would be obtained if that M7 release was "feature complete. " In particular, changes related to Project Lambda are best incorporated before the M7 release. Reinhold proposed slipping the M7 date, but did not estimate how long it needs to be extended because "it will take some time to determine how much of an extension is needed. " Exploring Lambdas Speaking of lambda expressions, Dhananjay Nene's blog post Exploring Java8 Lambdas. Java Generics FAQs - Frequently Asked Questions. All text and content found at URLs starting with (collectively, "the Java Generics FAQ") are the sole property of Angelika Langer.

Java Generics FAQs - Frequently Asked Questions

Copyright @ 2004-2014 by Angelika Langer . All rights reserved. Using Java as Native Linux Apps – Calling C, Daemonization, Packaging, CLI (Brian McCallister) We Recommend These Resources This is a summary of the excellent JavaZone 2012 talk Going Native (vimeo) by Brian McCallister.

Using Java as Native Linux Apps – Calling C, Daemonization, Packaging, CLI (Brian McCallister)

Content: Using native libraries in Java and packaging them with Java apps, daemonization, trully executable JARs, powerful CLI, creating manpages, packaging natively as deb/rpm. 1. Which Java Thread Consumes my CPU? We Recommend These Resources What do you do when your Java application consumes 100% of the CPU?

Which Java Thread Consumes my CPU?

Turns out you can easily find the problematic thread(s) using built-in UNIX and JDK tools. No profilers or agents required. For the purpose of testing we'll use this simple program: public class Main { public static void main(String[] args) { new Thread(new Idle(), "Idle").start(); new Thread(new Busy(), "Busy").start(); } } class Idle implements Runnable { @Override public void run() { try { TimeUnit.HOURS.sleep(1); } catch (InterruptedException e) { } } } class Busy implements Runnable { @Override public void run() { while(true) { "Foo".matches("F. *"); } } } As you can see, it starts two threads. Azul Systems Announces New Initiative to Support Open Source Community with Free Zing JVM. SUNNYVALE, Calif., July 30, 2012 -- Azul Systems, Inc.

Azul Systems Announces New Initiative to Support Open Source Community with Free Zing JVM

(Azul), the award-winning leader in Java runtime scalability, today announced an ongoing commitment to the Open Source community by making Zing freely available to Open Source developers and projects for use in development, qualification, and testing. The new initiative enables Open Source applications supporting commodity x86 servers running Red Hat Enterprise Linux, SUSE Linux Enterprise Server, CentOS and Ubuntu Linux to take full advantage of Zing’s unique features and capabilities. “Our goal is to make Zing the de facto choice for Open Source developers to achieve the most consistent Java performance and scalability,” said Scott Sellers, Azul Systems president and CEO. “Azul’s development teams have made extensive use of Open Source technologies over the years, and our new Open Source development initiative is another example of our commitment to the Java community and embracing Open Source software.

High performance network programming on the jvm oscon 2012.

Imaging

Javolution. MG4J: Managing Gigabytes for Java™ 8 open source projects tagged java-collection. We have collection of more than 1 Million open source products ranging from Enterprise product to small libraries in all platforms.

8 open source projects tagged java-collection

We aggregate information from all open source repositories. Search and find the best for your needs. Displaying 1 to 9 from 9 results Guava - Google Core Libraries for Java The Google Guava Libraries are a nice set of Java utility classes that will probably come in handy in any project. Read more google-collections The Google Collections Library 1.0 is a set of new collection types, implementations and related goodness for Java 5 and higher, brought to you by Google. Read more high-scale-lib A collection of Concurrent and Highly Scalable Utilities. Read more. Generic class names to avoid. Java (Oracle Java update 2) has many classes with the same generic name.

Generic class names to avoid

To avoid further confusion, I suggest avoiding these names if you can. Most repeated The following class names are repeated, 19 Handler, 16 Messages, 13 Util, 10 Element, 8 Attribute, 7 SecuritySupport, 7 Node, 6 Provider, 6 Header, 6 FactoryFinder, 6 Document. 5 SOAPBinding, 5 Repository, 5 Ref, 5 ORB, 5 Name, 5 Constants, 5 Connection, 5 Comment, 5 Binding, 5 Attributes, This excludes the Apache XML library which repeats many names. If you include these libraries there are 26 classes called SecuritySupport. Four times. Fork and Join: Java Can Excel at Painless Parallel Programming Too! By Julien Ponge How do the new fork/join tasks provided by Java SE 7 make it easier to write parallel programs?

Fork and Join: Java Can Excel at Painless Parallel Programming Too!

Published July 2011 Downloads: Faux' Blog » Java stacktraces straw man. Pattern (Java Platform SE 6) Java.lang.Object java.util.regex.Pattern All Implemented Interfaces: Serializable public final class Patternextends Objectimplements Serializable A compiled representation of a regular expression.

Pattern (Java Platform SE 6)

A regular expression, specified as a string, must first be compiled into an instance of this class. A typical invocation sequence is thus Pattern p = Pattern.compile("a*b"); Matcher m = p.matcher("aaaaab"); boolean b = m.matches(); A matches method is defined by this class as a convenience for when a regular expression is used just once. StringSearch – high-performance pattern matching algorithms in Java. High-perfor­mance pattern matching algo­rithms in Java The Java language lacks fast string searching algorithms.

StringSearch – high-performance pattern matching algorithms in Java

StringSearch provides implementations of the Boyer-Moore and the Shift-Or (bit-parallel) algorithms. These algorithms are easily five to ten times faster than the naïve implementation found in java.lang.String. Download ↓ Download with Maven. Java.net - The Source for Java Technology Collaboration. The Jakarta Site - The Jakarta Project. Eclipse.org home. Welcome to JavaWorld.com. JRoller - Javalobby Community Weblog Service. ONJava.com: The Independent Source for Enterprise Java. DeveloperWorks : IBM\'s resource for developers and IT professio. Developer Resources for Java Technology.

Oracle Oracle. Open Source Software in Java. DevX. The heart of the Java developer community. TheServerSide.com: your java Community discussing server side de. OpenJDK. Blog "Baptiste Wicht"