Java

The Magic Word in Java: CAFEBABE

Java Lobby Announcements - Sat, 2016-02-06 14:31

A Java compiler compiles a Java Source code into bytecode and stores it in a .class file which is then get executed by JMV.

Well, we all know this, but do you know that all Java classes start with a magic word called – CAFE BABE?

Categories: Java

Creating Proxy Objects Using djcproxy

Java Lobby Announcements - Sat, 2016-02-06 12:34

During the last few weeks I have shown how to create a proxy object using Java reflection API and cglib. In this article I will show you how this can be done using djcproxy.

Oh, not again, another proxy implementation!

Categories: Java

How We Accidentally Doubled Our JDBC Traffic With Hibernate

Java Lobby Announcements - Sat, 2016-02-06 12:31

This post describes my recent experience with Hibernate ORM. Over the years the framework has not stopped to amaze me in regards of performance problems you can end up with while using it. I thought I had seen it all, but this time I was again caught off guard.

The foundation for the problem was built while troubleshooting a completely unrelated library causing problems in one of our production servers. To gather more insight about the original issue at hand, we increased the verbosity in the logback configuration.

Categories: Java

Rising Specter of Shadow IT | @CloudExpo #Cloud #ML #BigData #IoT

JDJ - Sat, 2016-02-06 12:00
As organizations try to increase their velocity and agility, there’s a widening gap between the IT department and the provisioning of new services. This can lead to serious security risks and operational inefficiency. But if we really want to tackle shadow IT, we have to get to the root of the problem. Why are people bypassing the IT department or failing to ask management for permission? What can we do about it?

read more

Categories: Java

A Conversation with Marc Andreessen: Part 2 By @BobGourley | @ThingsExpo #IoT

JDJ - Sat, 2016-02-06 00:00
This post is the second in a series based on a discussion with Marc Andreessen. The first was on: AI, Robotics, Jobs and Accelerating The Future Gourley: Can you provide more context on what kind of education and training? Andreessen: It is fair to say I am biased on that subject but my view is that the quantitative skills will be in greater demand: Math, Economics, Science, Engineering, Computer Science. The requirements for these are rising at much higher rates so their premium is rising. All of us should seek to self educate on these when we can and this is what we should encourage our youth to pursue. We should of course value other more qualitative skills like history, politics, arts and culture, but understand that this is an increasingly technical world and even those people will need more understanding about how the world really works. If you want to be as relevant as possible, get as many quantitative skills as you can and keep learning.

read more

Categories: Java

Microsoft Takes Giant Leap in Cloud Computing Market By @Dana_Gardner | @CloudExpo #Cloud

JDJ - Fri, 2016-02-05 23:30
The arrival of the Microsoft Azure Stack Technical Preview marks a turning point in the cloud-computing market and forms a leading indicator of how dramatically Microsoft has changed in the past two years. The cloud turning point comes because the path to hybrid-cloud capabilities and benefits has a powerful new usher, one with the enterprise, developer, and service-provider presence, R and D budget, and competitive imperative to succeed in a market still underserved and nebulous.

read more

Categories: Java

[session] A Tour of Data Platforms as a Service By @WarChav | @CloudExpo #Cloud

JDJ - Fri, 2016-02-05 20:30
With the proliferation of both SQL and NoSQL databases, organizations can now target specific fit-for-purpose database tools for their different application needs regarding scalability, ease of use, ACID support, etc. Platform as a Service offerings make this even easier now, enabling developers to roll out their own database infrastructure in minutes with minimal management overhead. However, this same amount of flexibility also comes with the challenges of picking the right tool, on the right provider and with the proper expectations. In his session at 18th Cloud Expo, Warner Chaves, Principal Consultant at Pythian, will compare the NoSQL and SQL offerings from AWS, Microsoft Azure and Google Cloud, their similarities, differences and use cases for each one based on our own client projects.

read more

Categories: Java

[session] Talk to Your Microservice Via a Chat Bot, Not UI By @Yegor256 | @CloudExpo #Cloud

JDJ - Fri, 2016-02-05 16:15
In most cases, it is convenient to have some human interaction with a web (micro-)service, no matter how small it is. A traditional approach would be to create an HTTP interface, where user requests will be dispatched and HTML/CSS pages must be served. This approach is indeed very traditional for a web site, but not really convenient for a web service, which is not intended to be good looking, 24x7 up and running and UX-optimized. Instead, talking to a web service in a chat-bot mode would be much more convenient, both for a user and web service developer.

read more

Categories: Java

Microsoft's Underwater Datacenter Is Cool as Cool Can Be | @CloudExpo #Cloud

JDJ - Fri, 2016-02-05 15:15
Microsoft pulls a fast one! Good showing Microsoft. Project Natick is Microsoft's R&D feasibility project to explore, manufacture and operate a underwater. Hey, you don't look for cooling water, if you can take the salt out. How is latency improved? drop the datacenter at the nearest ocean or lake. Energy efficiency is no brainer considering the environment the datacenter is in. Bring in 3D manufacturing and you can have a datacenter manufactured and deployed in no time at all, no need for expensive land acquisition, licenses, certificates etc.

read more

Categories: Java

Building Reactive Systems with JavaFX

Java Lobby Announcements - Fri, 2016-02-05 14:31

JavaFX is the new standard library for building graphical applications in Java, but many programmers out there is still stuck with Swing or even (tremble) AWT. Here are a few tips on how you can use many of the new awesome features in the JavaFX toolkit to build reactive and fast applications!

1. Property Values

If you have snooped around in the JavaFX components you must have come across the term Property. Almost every value in the FX library can be observed, the width of a divider, the size of an image, the text in a label, the children of a list as well as the status of a checkbox. Properties come in two categories; Writables and Readables. A writable value can be changed either using a setter or by directly modifying the property. JavaFX will handle the event processing and make sure every component that depends on the property will be notified. A readable value has methods that allow you to receive notifications when the value changes.

Categories: Java

Make Your Java Factories Beautiful

Java Lobby Announcements - Fri, 2016-02-05 12:31
Make Your Java Factories Beautiful

Every Java programmer worth the name knows about the Factory Pattern. It is a convenient and standardized way to reduce coupling by teaching a component how to fish rather than giving it to them. When working with large systems, the pattern does, however, add a lot of boilerplate code to the system. For every entity, you need a number of different factories for producing different implementations of that entity, which is both tiresome and unnecessary to write.

Here is a typical example where you want a car trader to be able to create instances of the Car interface without knowing the exact implementation.

Categories: Java

OpenJDK - Is Now the Time?

Java Lobby Announcements - Fri, 2016-02-05 09:01

At the end of December 2015, Google announced that they were replacing their implementation of the Oracle JavaAPI with the open source OpenJDK version. This change in direction appears to be related to the ongoing legal battle between Sun/Oracle and Google regarding copyright and patent infringement with Google's use of Java in developing the Android operating system.

This article isn't about the Sun/Oracle v Google legal battle. Instead, realizing that Google has now joined IBM, RedHat, and Apple (among others) in focusing on OpenJDK - I wonder if now is the time to consider OpenJDK as an option for JDK users.

Categories: Java

A Java Nightmare [comic]

Java Lobby Announcements - Fri, 2016-02-05 07:02
Categories: Java

14 Ways for Devs and IT Professionals to Optimize Their LinkedIn Profile

Java Lobby Announcements - Fri, 2016-02-05 03:26

LinkedIn has been an invaluable resource for me over the past 10+ years. I've used it to:

  • Connect with thousands of business professionals.
  • Source two million tons of spent mussel shells in two months when a nine-person procurement department wasn't able to do so in three years.
  • Identify potential suppliers for multifunction copier/scanner/fax machines in a city where I did not live.
  • Help connect business professionals with similar interests.
  • Update the CRM of an employer whose "new database" was already 10% "deprecated."

Recently several people have asked me to help them optimize their profiles as they've become aware of what they can accomplish on LinkedIn.

Categories: Java

[session] What Is the Business Imperative for Cognitive Computing? By @JHurwitz | @CloudExpo #Cloud

JDJ - Thu, 2016-02-04 19:45
Cognitive Computing is becoming the foundation for a new generation of solutions that have the potential to transform business. Unlike traditional approaches to building solutions, a cognitive computing approach allows the data to help determine the way applications are designed. This contrasts with conventional software development that begins with defining logic based on the current way a business operates. In her session at 18th Cloud Expo, Judith S. Hurwitz, President and CEO of Hurwitz & Associates, Inc., will put cognitive computing into perspective with its value to the business. The session will detail what it takes to build a cognitive application and the types of solutions that are the best fit for this data-driven approach.

read more

Categories: Java

Why Appsec Vulnerabilities Are Dismissed as 'Theoretical' or 'False' By @CodeCurmudgeon | @CloudExpo #Cloud

JDJ - Thu, 2016-02-04 19:15
In a previous post on theoretical Appsec vulnerabilities, I covered how "it's theoretical" is misused by those who are trying to avoid fixing a security vulnerability or taking responsibility for it-for example, the Lenovo Superfish breach, Heartbleed, and airline wifi attacks. The idea that a vulnerability is merely theoretical is not only ignorant but dangerous. Software exploits occur because bad actors operate by finding unexpected loopholes in a software system. Think of it this way - if you left your door unlocked is it a security issue? Or perhaps "If an unlocked door is never entered, is it really unlocked" if you're a philosopher. One could contend that the risk is theoretical, but most of us would say that such a statement is ridiculous. (Props to those who live in an area where door security isn't required.)

read more

Categories: Java

What’s Exciting About Java 9 and APM By @AakritP | @DevOpsSummit #DevOps

JDJ - Thu, 2016-02-04 17:00
In today’s modern computing age, constant enhancements in software innovations are driving us closer to an era of software revolution. Perhaps in the distant future, that may be how the 21st century is remembered best. Among the popular software languages out there, however, Java continues to have the largest industry footprint, running applications around the globe producing combined annual revenue in trillions. That’s why keeping up on the JDK is a high priority. Despite having a massive API to improve programming productivity, Java has also grown due to its high performance yet scalable JVM runtime, building among the fastest computing modern applications. As Java’s footprint expands, JDK innovations continue to impact billions of lines of code. As AppDynamics continues to grow, our focus towards supporting Java is only furthered by our customer use & industry adoption of the JVM.

read more

Categories: Java

Fixing Slow: The Digital Paradigm Shift By @TheEbizWizard | @DevOpsSummit #DevOps

JDJ - Thu, 2016-02-04 16:45
If we look at slow, traditional IT and jump to the conclusion that just because we found its issues intractable before, that necessarily means we will again, then it’s time for a rethink. As a matter of fact, the world of IT has changed over the last ten years or so. We’ve been experiencing unprecedented innovation across the board – innovation in technology as well as in how people organize and accomplish tasks. Let’s take a look at three differences between today’s modern, digital context for enterprise IT as compared to conventional wisdom – wisdom that may have applied only a handful of years ago.

read more

Categories: Java

Tune into the Cloud: The Circle By @GregorPetri | @CloudExpo #Cloud

JDJ - Thu, 2016-02-04 15:00
Time for a blog about personal privacy, before we all have forgotten about the concept. The Circle is both the title of an 2009 album by Bon Jovi as a 2013 novel by Dave Eggers. A novel relevant for a cloud blog because it describes a future in which one company (the Circle) largely controls the nexus of information, social, mobile and cloud. The use of a novel as medium for the communication of ideas regarding business or politics is not new. Think of examples as “The Goal” (about manufacturing management), “The Phoenix Project” (about IT Management), “Animal Farm” (about politics) and of course “1984” (about society). The Circle remind us of 1984, although in The Circle citizens opt-in voluntarily to life under an all seeing and omnipresent authority. An authority which, incidentally, is not a government, but a commercial social media and cloud services outfit.

read more

Categories: Java

Pivotal Academy Launches Updated Spring Classes

Java Lobby Announcements - Thu, 2016-02-04 14:31

It has been 7 years now since I taught my first Spring class. At that time almost everything was XML and configuring JPA or Spring Security, for example, could be a lot of hard work. Spring has matured a great deal in the meantime with component-scanning, Java Configuration and Spring Boot making it much more fun to use.

At every stage, we have updated our Spring courses to reflect these changes and I am pleased to announce that our most popular Spring training courses - Core Spring, Spring Web, and Enterprise Spring - have been revised to align with the latest Spring 4.2 release. These courses include much more Spring Boot material and expanded coverage of features like Spring Data, Spring HATEOAS, Spring MVC Websockets, Spring XD, Spring Cloud and microservices.

Categories: Java

Pages

Subscribe to EGJUG aggregator - Java