How to Copy File in Java

Simple Java program to copy file in Java from one directory to other. Java File API does not provide any method to copy file or directory. In order to copy file you need to use InputStream and OutputStream and recreate file in destination folder

Stormpath User Management Now Supports Django

One of the really nice things about Django is that it ships with a fantastic ORM, user authentication, and admin panel. These three things make building secure Django websites incredibly easy. The new Stormpath Django library allows you to keep using all of the normal Django auth system functionality, while completely handling all scaling and security issues.

Own your heap: Iterate class instances with JVMTI

In this JavaAdvent post we create a simple native JVM agent that uses JVMTI to leverage a unique insight into what happens on the JVM heap. We show how to iterate the instances of a given class which can be handy in many situations. JVMTI offers lots of useful API and using a native Java agent is a good way to benefit from that.

Best Java Blogs

The Best actively maintained sites in the Java ecosystem.

Fedora 21: Fedora Goes Atomic

Fedora 21 rolled out this week, organized into three separate flavors: Workstation, Server, and Cloud. Fedora's Cloud flavor is further divided into a "traditional" base image and an Atomic Host image into which Fedora's team of cloud wranglers has herded a whole series of futuristic operating system technologies.

Introducing Docker to a Java developer

You've seen Docker popup everywhere lately and wonder how it fits in your Java ecosystem? Let's take a Spring boot application and run it inside a Docker container.

Fibonacci Series Using Iteration and Recursion in Java

Write a Java program to print Fibonacci series is one of the common coding problem Java developers are asked during interviews. To make it more interesting interviewer ask you to do this exercise using bot for loop and recursion. This article explains both the approach and also shows how to optimize them for further follow-up.

18 Best Javascript Frameworks For Web Developers 2014

JavaScript is a dynamic computer programming language which is used as part of web browsers, whose implementation allow client side script to interact with the user and control the browser. It is also used as server side network programming, game development and for creating desktop and mobile applications.

Soft Skills: The Developer’s Life Manual – Book review and Coupon

“Soft Skills: The software developer’s life manual” is a developer to developer guide offering techniques and practices for a more satisfying life as a professional software developer. In it, John addresses a wide range of important “soft” topics from career and productivity, to personal finance and investing, and even fitness and relationships all from a developer-centric viewpoint.

The Evolution of Java Caching: An Interview with Miko Matsumura

John K. Waters of ADTMag takes some time to chat with Hazelcast’s Miko Matsumura on the evolution of Java caching and how the long awaited approval the JCache spec is the harbinger of a fundamental shift away from the old JVM paradigm.

Top 5 Best Tools to Convert Java to C# Source Code

Undeniably, Java is the most popular and widely used programming language since its inception in the year 1995 by Sun Microsystems. Being the object-oriented and class-based programming language, Java takes the pride for being the popular programming language today, used by over 9 million developers globally for client server web applications. This programming language is best known for its unique characteristic, where programmers need to write only once and then run it anywhere anytime; this is the reason why it is so popular today.

3 Reasons Why Software Development Projects Fail

According to the 2013 CHOAS Manifesto by the Standish Group, only 39% of IT projects succeeded in 2012. Ensure success in your next project by finding out what causes project failure.

Spring Security 4.0.0.RC1 improves WebSocket security, configuration

We are please to announce the release of Spring Security 4.0.0.RC1. This release resolved 40 tickets. You can find a highlight of the changes below: - Updated Defaults - As security evolves, so does Spring Security. We took this opportunity to ensure that the defaults were more secure. For example, the XML Namespace support now enables CSRF protection by default. - Polish WebSocket Security - We received very valuable feedback from the community which allowed us to polish the WebSocket security. A complete example that also integrates with Spring Session can be found in spring-session/samples/websocket. For example, the WebSocket Java Configuration now better aligns with the HTTP configuration. - Simplified Configuration - By leveraging Spring 4.x new features, Spring Security's minimal configuration has been drastically simplified. For example, the minimal configuration to secure a web application can be seen below:

Data Loss is Costing Companies $1.7 Trillion Per Year

Most companies understand the importance of backing up data: Without a sufficient backup strategy in place, data loss could set a business back days, weeks, or even months. Despite this apparent understanding, many businesses still aren't taking the necessary measures to ensure that their data is protected from disaster. Well, this metric may help push them toward taking those measures: Data loss and downtime is costing companies $1.7 trillion per year.

Why dual licensing isn't always such a great idea

We’ve been in business for more than one year now with our dual-licensing strategy for jOOQ. While this strategy has worked very well for us, it has also been a bit of a challenge for some of our customers. Today, we’re going to show you what caveats of dual-licensing we’ve run into.

Dynatrace AJAX Edition 4.5 is here

One of the most popular free tools for browser diagnostics on Windows for IE and Firefox goes into its next but final version. Download it - and use it to optimize your web pages. A big THANK YOU to our engineering team that provides this great piece of software!