Java

Announcing @SoftLayer Named “Gold Sponsor” of @CloudExpo New York | #Cloud

JDJ - Fri, 2016-04-29 22:00
SYS-CON Events announced today that SoftLayer, an IBM Company, has been named “Gold Sponsor” of SYS-CON's 18th Cloud Expo, which will take place on June 7-9, 2016, at the Javits Center in New York, New York. SoftLayer, an IBM Company, provides cloud infrastructure as a service from a growing number of data centers and network points of presence around the world. SoftLayer’s customers range from Web startups to global enterprises.

read more

Categories: Java

Closure-based State in F#

Java Lobby Announcements - Fri, 2016-04-29 14:01

Being an object/functional hybrid language, F# offers the opportunity to support either a traditional object-field approach to encapsulating state, as well as the more “functional” style of Closure-based State. As such, developers will generally prefer to store state in object/class fields, but there can still be situations where encapsulating the state away from the object as a whole can be preferable.

However, F# has some interesting language restrictions around enclosed bound variables; specifically, because F# wants to assume that all bound values are immutable by default, F# will require a slight amendment to the enclosed local state, marking it as a “reference” (using the ref keyword), before it can be used inside of a returned function:

Categories: Java

Design Patterns Are Not Blueprints

Java Lobby Announcements - Fri, 2016-04-29 13:01

Recently I needed to put together some code to perform autowiring of dependencies using Java annotations. The annotation had an optional parameter specifying a name; if the name was missing, the dependency would be wired by type matching.

So of course the core logic ended up looking like:

Categories: Java

Findings on Database Management | @CloudExpo #Cloud #IoT #BigData

JDJ - Fri, 2016-04-29 11:00
Technical decisions around data persistence are hard, which is why we surveyed 583 IT Professionals on everything from current DBMS and ORM usage to modern database engines’ data structures and access patterns to storing data on a mobile device. The two most mature commercial DBMS offerings (Oracle and MySQL) are used in production by 51% and 49% of respondents, respectively-significantly ahead of the third-ranked DBMS (SQL Server, at 34%). The top three, and the tight race between the top two, have not changed in years, among our survey respondents as well as on the DBMS ranking aggregator dbengines.com. The nearest NoSQL challenger, MongoDB, remains a distant fourth in production environments.

read more

Categories: Java

Java Hashcode and Equals Deep Dive

Java Lobby Announcements - Fri, 2016-04-29 10:38
Hashcode and Equals

This article is part of Marcus Biel’s free Java course focusing on clean code principles. It concludes a series where we go over all the methods of the java.lang.Object class. Since hashCode and equals are two of java.lang.Object’s methods which follow a contract that binds them together, it makes sense to talk about both methods together. In fact, they are bound in such a way that we cannot implement one without the other and expect to have a well-written class. Knowing all the details about these two methods is essential to becoming a better Java programmer. So what do these two methods do?

Equals Method

The equals method is used to compare two objects for equality, similar to the equals operator used for primitive values.

Categories: Java

This Week In Spring

Java Lobby Announcements - Fri, 2016-04-29 08:20

Welcome to another installment of This Week in Spring! This week I’m in Budapest, Hungary, for the amazing Craft Conf. This show is a very special show indeed. Special, for me, first in that I’ll be joined by industry titans like Adrian Cochroft, Jez Humble, Sam Newman, and Kyle Kingsbury, and in that I’ll join two of my friends from Pivotal - Andrew Clay Shafer and Bridget Kromhout (also titans)! I’m so excited to be among these, and many more, that I can hardly contain it and I recommend you consider making the trip if it’s convenient, one day, yourself.

Now then, we’ve got a lot to get through so let’s go!

Categories: Java

Hype Detected [comic]

Java Lobby Announcements - Fri, 2016-04-29 07:01
Categories: Java

Announcing @EnzuInc to Exhibit at @CloudExpo New York | #Cloud

JDJ - Thu, 2016-04-28 23:30
SYS-CON Events announced today that Enzu, a leading provider of cloud hosting solutions, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. Enzu’s mission is to be the leading provider of enterprise cloud solutions worldwide. Enzu enables online businesses to use its IT infrastructure to their competitive advantage. By offering a suite of proven hosting and management services, Enzu wants companies to focus on the core of their online business and let Enzu manage their IT hosting infrastructure.

read more

Categories: Java

Java.net and Kenai Shutting Down: Why?

Java Lobby Announcements - Thu, 2016-04-28 19:37

Oracle recently announced that Java.net and Kenai.com will be "going dark" one year from now. The brief announcement offers nothing even close to resembling an explanation and is the equivalent of "We've closed our storage facility. Come pick up your stuff!"

The second paragraph of the announcement is a particuarly touching send-off for the many years Java devs spent using the sites — I think it's the use of ALL CAPS that really warms the heart of the Java community:

Categories: Java

Ten Years of Continuous Integration: Where’s My CI Database? | @DevOpsSummit #DevOps

JDJ - Thu, 2016-04-28 16:45
In 2006, Martin Fowler posted his now famous essay on Continuous Integration. Looking back, what seemed revolutionary, radical or just plain crazy is now common, pedestrian and "just what you do." I love it. Back then, building and releasing software was a real pain. Integration was something you did at the end, after code complete, and we didn't know how long it would take. Some people may recall how we, as an industry, spent a massive amount of time integrating code from one team with another, or even just between developers that sat next to each other. The arguments against it at the time seemed valid and impactful. Now they seem weak and silly. Fowler proposed Continuous Integration, an idea that was simple, elegant and had far-reaching repercussions. By producing constant, automated, self-testing builds in development, a huge amount of resource overhead typically incurred down the line was eliminated.

read more

Categories: Java

[session] Visualizing IoT Data with HTML5 Dashboards By @ShikhirSingh | @CloudExpo #Cloud

JDJ - Thu, 2016-04-28 14:15
Increasing IoT connectivity is forcing enterprises to find elegant solutions to organize and visualize all incoming data from these connected devices with re-configurable dashboard widgets to effectively allow rapid decision-making for everything from immediate actions in tactical situations to strategic analysis and reporting. In his session at 18th Cloud Expo, Shikhir Singh, Senior Developer Relations Manager at Sencha, will discuss how to create HTML5 dashboards that interact with IoT devices via Ext JS constructed components like Grids, Charts, and Widgets.

read more

Categories: Java

Modernized Pattern Implementation With CDI: The Maximal Decoupled “Virtual Chain Of Responsibility”

Java Lobby Announcements - Thu, 2016-04-28 13:01

In this part, I will show you a modernized, CDI-based version of the good old “Chain Of Responsibility” (CoR) pattern. As you will see, it is a perfect weapon if you want to design a system and write code that follows Uncle Bob’s “SOLID Principles”, especially the Open/Closed Principle, which is often one of the hardest to achieve.

The new design is based on an Interceptor that controls and performs the calls to the Chain Handlers, which have to be annotated with appropriate CDI-Qualifiers. The key difference to the usual Chain-Pattern is, that the chain handlers are not physically connected, i.e. a handler doesn’t know about any successor. Instead, the handlers are “virtually” connected by sharing a custom, Usecase-specific CDI-Qualifier, thus I would prefer to call this modernized version a “Virtual Chain Of Responsibility“.

Categories: Java

Why You Should Do Periodic Reviews of Legacy Code

Java Lobby Announcements - Thu, 2016-04-28 12:52

Editorial Note: I originally wrote this post for the SmartBear blog.  Go take a look at the original here, at their site.  If you like posts about collaboration, code review, and other topics, take a look around while you’re there.

Legacy code is sort of like your house’s storage crawlspace.  It tends to be a repository for things that mattered to you in days past or on special occasions.  The code sits there, largely unnoticed, until such time as an odd change or a production bug causes you to dig it up, dust it off, and revisit it.  Barring extraordinary circumstances, it tends to sit, largely forgotten, and possibly rotting or getting riddled with moth holes.

Categories: Java

Why Rewrite InsertBackendHere to Node?

Java Lobby Announcements - Thu, 2016-04-28 11:50

There are always fads, but sometimes the fads have reasons they are fads. Question from a reader:

“I’m fine re-architecting our various software applications used internally using Backbone/Angular for the front-end. However, why would I use Node for the back-end when my Spring MVC SOAP Java business layer works just fine?”First, Backend for Frontend

It’s hard for Java Developers to get “why” if they are the same ones doing the front-end and the API for it. People like me (who are rare) and grew up on the front-end love this stuff. Case in point Sam Newman’s lovely “Backend for Frontend” article which summarizes a few of our challenges that Node (or Ruby… or Python… just easier with Node) solves.

Categories: Java

The Agile Accelerator | @CloudExpo @IsomorphicHQ #DigitalTransformation

JDJ - Thu, 2016-04-28 09:30
Between the mockups and specs produced by analysts, and resulting applications built by developers, there exists a gulf where projects fail, costs spiral, and applications disappoint. Methodologies like Agile attempt to address this with intensified communication, with partial success but many limitations. In his session at 18th Cloud Expo, Charles Kendrick, CTO & Chief Architect at Isomorphic Software, will present a revolutionary model enabled by new technologies. Learn how business and development users can collaborate - each using tools appropriate to their expertise - to build mockups and enhance them all the way through functional prototypes, to final deployed applications. This approach helps you improve usability, exceed end-user expectations, and still hit project milestones.

read more

Categories: Java

IoT Sales: Enabling Adopters | @ThingsExpo #IoT #IIoT #DigitalTransformation

JDJ - Thu, 2016-04-28 07:45
Most people love new technology. It can make us more productive. It can lower our costs. It can be very “cool.” So, if it’s true and most people love new technology, why do we tend to adopt new technology on a “curve?” Why do innovators and early adopters jump in early while others become late majority or laggards? One answer is the effect of salespeople on the adoption curve. With innovators, salespeople probably make no difference. Innovators are going to buy new technology early and take a risk. It's important that they are the first to utilize and implement new technology. They probably know more about the technology than the salespeople do anyway. They have likely been researching the new stuff for months and probably were involved in beta-testing the product for the manufacturer.

read more

Categories: Java

Java Quiz: Objects and References

Java Lobby Announcements - Thu, 2016-04-28 06:31

First, let's see how we got the correct answer, F, from last week's quiz:

public void pirnt(){ for(int i = 0; i < listMySub.size(); i ++ ) { if(i == 6) { System.out.println("Object6.id=" + listMySub.get(i).id + " object6.getNumber()=" + listMySub.get(i).getNumber()); } if(i == 8) { System.out.println("Object8.id=" + listMySub.get(i).id + " object8.getNumber()=" + listMySub.get(i).getNumber()); } } } public static void main(String[] args){ MyApp ma = new MyApp(); ma.method(); ma.pirnt(); }

Here's the next quiz, intended for advanced Java developers:

Categories: Java

Getting Started With Hazelcast and Node.js

Java Lobby Announcements - Thu, 2016-04-28 06:01

TL;DR

Install the package
npm install hazelcast-client, grab a demo app and read API docs. Time To «Hello World!» less than 5 min.
Intro

On the behalf of Hazelcast Team, I’m pleased to announce the availability of version 0.2 of the Hazelcast Client for Node.js.

Categories: Java

Rugged DevOps | @DevOpsSummit #DevOps #Microservices #ContinuousIntegration

JDJ - Wed, 2016-04-27 13:15
I had the opportunity to catch up with Chris Corriere - DevOps Engineer at AutoTrader - to talk about his experiences in the realm of Rugged DevOps. We discussed automation, culture and collaboration, and which thought leaders he is following. Chris Corriere: Hey, I'm Chris Corriere. I'm a DevOps Engineer AutoTrader. Derek Weeks: Today we're going to talk about Rugged DevOps. It's a subject that's gaining a lot of traction in the community but not a lot of people are really familiar with what it is.

read more

Categories: Java

Testing Java EE (or Why Integration Tests Are Overrated)

Java Lobby Announcements - Wed, 2016-04-27 11:38

In (enterprise) development testing often is treated very much as poor relations. But for more than “Hello World” applications testing is not just nice to have (at the end of the project) rather than crucial for working software. How to test Java EE applications in a productive yet comprehensive way?

A good test has following criteria: It must be fast, reliable and easy to write and maintain.

Categories: Java

Pages

Subscribe to EGJUG aggregator - Java