Java

Windows 2016 Containers on Azure | @DevOpsSummit #Azure #DevOps #Docker #Containers

JDJ - Thu, 2016-09-15 20:45
An Azure platform is running on a virtualized server and hence the above container hosts may not give the same performance as an equivalent container host on a bare metal server. However, this thought process will help organizations to come up with new use cases of utilizing Windows 2016 containers as part of their Infrastructure equations. Again as the industry as seen both SMP and MPP architectures, the usage of SMP should be viewed with respect to specific workloads.

read more

Categories: Java

What Changing Times Mean for IT Admins | @CloudExpo #Cloud #DevOps #DigitalTransformation

JDJ - Thu, 2016-09-15 17:30
Just as writing has come to mean texting, blogging or any form of digital writing, the cloud today means one or all of the three Cs: computing, connectivity and communication. And just as nearly all thought to putting pen to paper has disappeared, all reference to the natural cloud is long forgotten. The three Cs have altered the way we consume services. The adage, “change is the only constant,” holds true in the IT landscape like no other, forcing IT admins to constantly learn new skills and make strategic decisions.

read more

Categories: Java

Clash of Ops: How Security Turns Stateless into Stateful | @DevOpsSummit #API #DevOps #Security

JDJ - Thu, 2016-09-15 17:00
It was a Monday. I was reading the Internet. Okay, I was skimming feeds. Anyway, I happened across a title that intrigued me, “Stateful Apps and Containers: Squaring the Circle.” It had all the right buzzwords (containers) and mentioned state, a topic near and dear to this application networking-oriented gal, so I happily clicked on through. Turns out that Stateful Apps are not Stateful Apps. Seriously.

read more

Categories: Java

Java Code Challenge: Chemical Symbol Naming — Part Two

Java Lobby Announcements - Thu, 2016-09-15 16:01

Check out part one here if you haven't completed it yet.

Java Code Challenge is a regular segment taking the best challenge from Reddit's dailyprogrammer. Things are a little different here as we're focused on Java. A working solution is not enough; we're looking for the cleanest Java code with tests. 3rd party libraries are welcome but if you can do it without it will be easier for others to comprehend.

Categories: Java

Book Review: Working Effectively With Legacy Code

Java Lobby Announcements - Thu, 2016-09-15 16:01

I haven’t publish any book reviews lately. It does not mean I am not reading books anymore. I just didn’t feel that some of the books I read recently requires my recommendation, or I didn’t have any thoughts that I needed necessary to share right now.

I have added a few books to my favorite books list though. Check them out!

Categories: Java

Second Iteration of Our Shape Calculator: The Service

Java Lobby Announcements - Thu, 2016-09-15 16:01
Introduction

If you have been with us since the beginning, you know we are mimicking the journey of some "useful" (let's pretend, shall we) piece of software that began life as just some code.

It is turning into something more serious, and we now have somewhat of a resuable component.

Categories: Java

8 Options for Capturing Thread Dumps

Java Lobby Announcements - Thu, 2016-09-15 16:00

Thread dumps are vital artifacts to diagnose CPU spikes, deadlocks, memory problems, unresponsive applications, poor response times, and other system problems. There are great online thread dump analysis tools such as http://fastthread.io/ that can analyze and spot problems. But to those tools you need provide proper thread dumps as input. Thus in this article, I have documented 7 different options to capture thread dumps.

1. jstack

‘jstack’ is an effective command line tool to capture thread dumps. The jstack tool is shipped in JDK_HOME\bin folder. Here is the command that you need to issue to capture thread dump:

Categories: Java

Digital Transformation's Impact on Value Chain | @CloudExpo #IoT #Cloud #DigitalTransformation

JDJ - Thu, 2016-09-15 15:45
New forces are impacting the entire value chain of an enterprise. Availability of large amounts of digital data, automation of the production processes, inter-connectivity of the supply chains, and digitization of the customer experience is re-organizing entire industries leading to the transformation of business models. Let’s look at the some of the critical pieces of the value chain and see the impact of the new technologies.

read more

Categories: Java

Coexistence: Adopting an Optimal IT Infrastructure Model | @CloudExpo #IaaS #SaaS #Cloud

JDJ - Thu, 2016-09-15 15:30
Some mainstream IT buyers might think that most cloud infrastructure vendors and service providers are essentially alike. But there are key differences. Besides, given the body of market research to the contrary, there’s clearly no such thing as a "one-size-fits-all" cloud solution. Furthermore, if you believe that a hybrid cloud should support an IT agenda to transform a business, then a viable solution must consider the preexisting systems of record within the enterprise. That’s why forward-thinking CIOs often seek information and guidance on two fronts. First, they want to know how to extract costs from their legacy IT investments. Second, they desire to use that assessment exercise to free-up budget and fund innovation via a DevOps model that would streamline new cloud-native technology deployments.

read more

Categories: Java

[session] Regulatory Compliance in the Cloud By @IBMcloud | @CloudExpo #API #Cloud #Compliance

JDJ - Thu, 2016-09-15 14:00
Regulatory requirements exist to promote the controlled sharing of information, while protecting the privacy and/or security of the information. Regulations for each type of information have their own set of rules, policies, and guidelines. Cloud Service Providers (CSP) are faced with increasing demand for services at decreasing prices. Demonstrating and maintaining compliance with regulations is a nontrivial task and doing so against numerous sets of regulatory requirements can be daunting task. CSPs need a foundation that provides a uniform, non-repetitive view across all the requirements.

read more

Categories: Java

Modern Java Component Design With Spring Framework 4.3 [Video]

Java Lobby Announcements - Thu, 2016-09-15 12:31

Recorded at SpringOne Platform 2016.

Speaker: Jüergen Hoeller

Categories: Java

Introducing Dexecutor

Java Lobby Announcements - Thu, 2016-09-15 07:31

From the dexecutor website:

Executing dependent/independent tasks in a reliable way is made so easy that even grandma can do it.

Categories: Java

Oracle Proposes NetBeans Move to Apache

Java Lobby Announcements - Wed, 2016-09-14 18:24

In an announcement on the NetBeans homepage, Oracle has proposed contributing the NetBeans IDE to the Apache Incubator to be known as Apache NetBeans. NetBeans was acquired by Sun Microsystems and made open source over fifteen years ago, and the announcement claims 1.5 million active users.

Even though it was already an open source project, the move should allow for increased contribution and collaboration with outside developers to improve the product, while taking Oracle off the hook for any potential neglect. Part of the NetBeans.org statement reads:

Categories: Java

Scala at Scale

Java Lobby Announcements - Wed, 2016-09-14 16:55

Functional composition is an extremely useful tool for creating modular, testable programs. One of the most natural applications of functional composition that I’ve found is creating a lightweight, composable HTTP request builder, and with that objective in focus, this post will equip you with the tools you need to simplify your HTTP clients.

In a microservice-based environment, distributed services need to communicate with each other over the network. Many times the protocol of choice is HTTP. What do you do when you need to expose an API for a given service? Create a client of course! Clients are great and should be used, but the issue with clients is that adding new endpoints or changing existing methods can be both tedious and error prone. It’s tough to remember exactly how to accomplish these tasks every time you need to hop into the client to make changes. Ever had to skim through a bunch of code just to remember how to add a new method to the client? Questions that frequently come up are:

Categories: Java

Java Library Search Engines Comparison: 2016

Java Lobby Announcements - Wed, 2016-09-14 16:54

When you search for some Maven artifact (Java library), you usually use one of two methods:

  • Google / DuckDuckGo / ... — That's fine, and it will mostly point you to mvnrepository.com, but this often doesn't return best results, especially when the library gets retired and moves to new groupId:artifactId, or when you search for a Maven plugin, archetype, or Java class. Also, it doesn't say anything about library's popularity.
  • A specialized search engine like mvnrepository.com, search.maven.org, javalibs.com, etc.

A short time back I also asked the Java community on Google+ which search engine they use. These were the answers (181 people voted). Later on you will see that mvnrepository.com currently prevails because it's easily searchable by Google, has existed for 10 long years, and does a pretty good job (at least for a basic dependency search in Central Repository):

Categories: Java

Compile and Execute Java, C#, and PHP From Your Favorite Text Editors

Java Lobby Announcements - Wed, 2016-09-14 12:31

Note: The instructions below are based on Windows environment, but are adaptable for Mac/Linux environments.

Sublime Text 2Compile and Execute Java From Sublime Text 2:

Assuming JDK to be installed, otherise you need to download that first. You can download it from this link: JDK8

Categories: Java

The Simplest Way to Define a Singleton in Java Correctly

Java Lobby Announcements - Wed, 2016-09-14 10:31

A singleton pattern is probably the simplest well-known design pattern, but still people often implement it incorrectly in Java. The main goal of the pattern is to ensure there is a single instance of a class that is globally accessible before it is first needed.

But wait, that could be accomplished just by a constant, right? Almost. But in reality, we often want to load the singleton lazily at the point we first need it, and we also want to ensure that it is not created multiple times in multi-threaded environments.

Categories: Java

First Iteration — A Command-Line Application: Final

Java Lobby Announcements - Wed, 2016-09-14 07:31
Review Code To-Date

We are on our way to developing and exploring various technologies of web applications and web services, but we begin with a simple program that turns into a resuable component. Read the previous section here!

You can review all the code changes that we have created from previous articles, by going here: https://github.com/elicorrales/shape-calc-5/tree/master/shape-calc-p5

Categories: Java

Intro to Java programming

IBM Java Dev. - Wed, 2016-09-14 07:00
Learn the structure, syntax, and programming paradigm of the Java platform and language. Start by mastering the essentials of object-oriented programming on the Java platform, and progress incrementally to the more-sophisticated syntax and libraries that you need to develop complex, real-world Java applications.
Categories: Java

Unit 16: Inheritance

IBM Java Dev. - Wed, 2016-09-14 07:00
Learn the structure, syntax, and programming paradigm of the Java platform and language. Start by mastering the essentials of object-oriented programming on the Java platform, and progress incrementally to the more-sophisticated syntax and libraries that you need to develop complex, real-world Java applications.
Categories: Java

Pages

Subscribe to EGJUG aggregator - Java