You are hereFeed aggregator / Sources / Dzone

Dzone


Syndicate content
Recent posts on DZone.com
Updated: 58 min 52 sec ago

What Can We Predict for the IT Industry in 2018?

Fri, 01/12/2018 - 5:01pm

2017 has been a remarkable year for digital transformation. Machine learning, AI and Big Data are some of the technologies that dominated 2017. Advancements and enhancements in these technologies will continue for coming years – but what can we predict for the IT industry in 2018? Will AI prove to be a job creator or a destroyer? Will global tech-giants have to self-disrupt to shape their new leadership opportunity? Will 2018 prove to be a slow death for IT specialists?

Today, tech innovations arrive faster than most of the enterprises can cope up with. All too often, before one innovation is embraced and implemented, other two appear on the horizon. To cope with these endless innovations, CIO’s of the enterprises must pursue and excel the role of a business strategist first and secondly as a technologist, thereby developing an appropriate pace for the digital transformation.

Categories: Technical

Spring Boot With Ehcache 3 and JSR-107

Fri, 01/12/2018 - 5:01pm

Here we are going to cover how to use Ehcache 3 for caching in Spring Boot based on JSR-107. We will tackle how to do operations on the cache itself (besides the well-known annotation usage).

Before we start, let's highlight JSR-107.

Categories: Technical

Powering Spring Boot With Redis

Fri, 01/12/2018 - 4:20pm

In this article, we will make a simple app and integrate it with Redis Database. Redis is an excellent open-source database that stores its data in RAM — meaning that if you want to store more data, you need to increase the amount of RAM for the system. It can also play the role of a cache system and a message broker, but we will only integrate the database integration in this post.

Setting Up the Project

To start setting up the project, we will add the required Maven dependencies in our project.

Categories: Technical

Top 5 Machine Learning Use Cases for 2018

Fri, 01/12/2018 - 3:01pm

Artificial intelligence (AI) is being deployed more and more frequently across industries. Far from the typical sci-fi fantasy depiction of robots with human-level intelligence, AI’s purpose in business today is frequently to automate tasks that humans have done in the past, such as picking products at a warehouse for order fulfillment, but also to find hidden patterns in data that lead to actionable insights.

Machine learning is a central subset of AI systems and has become an essential tool for data-driven businesses. At its core, machine learning is the process whereby a computer is given “the ability to learn without being explicitly programmed.” That may seem fairly vague, but there are many excellent use cases that highlight why this technology will have a long-lasting impact on business and society. Following are five examples of machine learning that we believe highlight the technology and its capabilities and will only continue to shine in 2018.

Categories: Technical

Hopes and Fails in DevOps 2017

Fri, 01/12/2018 - 3:01pm

In the end of 2016, DevOps enthusiasts and evangelists alike predicted and even declared 2017 as “The Year of DevOps.” DevOps evangelist J. Paul Reed put more eloquently when he said in an interview with TechBeacon “2017 will be the year that DevOps is finally declared 1.0 stable.” However, not all predictions came to fruition in 2017. Let’s take a look back at the DevOps hopes and fails of 2017.

First, the hopes.

Categories: Technical

Querying RDS MySQL DB With NodeJS Lambda Function

Fri, 01/12/2018 - 3:01pm

Recently, I tried AWS lambda for the first time. My task was to query an RDS MySQL database. In this blog post, I will share my experience on that.

First Attempt: Using the Inline Code Editor

Since I was using NodeJS, the first thing was to figure out a good MySQL node package. I found this MySQL library thanks to Douglas Wilson, and it has good documentation, as well. Writing the code was simple.

Categories: Technical

jQuery Code Snippets for Responsive Websites

Fri, 01/12/2018 - 2:01pm

When building a responsive website or app, jQuery can be of great help. In fact, it can take the whole user experience to a new level. In this article, I have compiled my favorite jQuery tips and tricks for making and enhancing responsive sites.

Scroll to an Element

Scrolling endlessly isn't the most fun thing ever. This is why it can be very useful to set scrolls so your visitors won't need to take 10 seconds to reach the info they're looking for.

Categories: Technical

RESTful APIs With the Play Framework - Part 1

Fri, 01/12/2018 - 2:01pm

During the last year, I was in many conferences talking about "RESTful Services with Play Framework, and a Security Level with JWT," an amazing experience that makes me want to share that with more people. I am writing a series of articles touching the aspects of my talk. We will start talking about the main Play Framework characteristics, how to develop RESTful services, and finally how to add a security level using JWT.

Play Framework

"Play is based on a lightweight, stateless, web-friendly architecture. Built on Akka, Play provides predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications." - Play Framework Documentation

Categories: Technical

Cybersecurity: The Do's and Don'ts

Fri, 01/12/2018 - 2:01pm

Security is the responsibility of all of us. Given the visibility and public disclosure that results from cyberattack breaches, cybersecurity and enterprise readiness have become very important topics. What’s enabling most cybercrimes is simple human error, such as trusting instructions that are sent electronically, or being taken in by complex scams in which criminals pose as clients, vendors, employees, executives, or other professionals in order to gain access to financial assets.

For this reason, we’ve comprised a list of do’s and don’ts when it comes to cybersecurity.

Categories: Technical

SD-WAN Can’t Make a Bad Network Good

Fri, 01/12/2018 - 1:01pm

In 2018, SD-WAN is poised to go from a technological hype machine to an enterprise workhorse. SD-WAN is going to become ubiquitous, so much so that a nebulous “2.0” version of SD WAN is being prepared, with more emphasis on security and multi-tenancy.

As with every technological transition, there’s going to be a wave of late adopters. If you haven’t investigated SD-WAN yet, and are interested in the technology, there are a couple of potential pitfalls to work through. SD-WAN can solve many ills, but it’s not a panacea. There are certain problems that an SD-WAN deployment can’t fix right out of the box. Most importantly, SD-WAN can’t fix (and won’t be aware of) the problems underlying an obsolete, inadequate, or poorly configured network.

Categories: Technical

7 Techniques for Thread-Safe Classes

Fri, 01/12/2018 - 1:01pm

Almost every Java application uses threads. A web server like Tomcat process each request in a separate worker thread, fat clients process long-running requests in dedicated worker threads, and even batch processes use the java.util.concurrent.ForkJoinPool to improve performance.

It is, therefore, necessary to write classes in a thread-safe way, which can be achieved by one of the following techniques.

Categories: Technical

5 Tips to Learn Docker in 2018

Fri, 01/12/2018 - 1:01pm

Now is a great time to think about the new skills or technologies you’d like to learn. So much can change each year as technology progresses and companies are looking to innovate or modernize their legacy applications or infrastructure. At the same time the market for Docker jobs continues to grow as companies such as Visa, MetLife, and Splunk adopt Docker Enterprise Edition ( EE) in production. So how about learning Docker in 2018? Here are a few tips to help you along the way.

1. Play With Docker: The Docker Playground and Training site

Play with Docker (PWD) is a Docker playground and training site which allows users to run Docker commands in a matter of seconds. It gives the experience of having a free Linux Virtual Machine in browser, where you can build and run Docker containers and even create clusters. Check out this video from DockerCon 2017 to learn more about this project. The training site is composed of a large set of Docker labs and quizzes from beginner to the advanced level available for both developers and IT pros at training.play-with-docker.com.

Categories: Technical

Learning DDD as a team

Fri, 01/12/2018 - 1:01pm

A few sprints ago my team and I decided to invest heavily in Domain-Driven Design. We already started to develop the new microservices in a DDD fashion, with our domain as the central component. However, we wanted to formalize it and move the old microservices to this new paradigm.

During this period we used several tools and techniques to aid us in figuring out what was the best approach for us. And we are Agile: probe, experiment and evaluate. If it doesn't work, learn from it and move on!

Categories: Technical

The Real Victims of Meltdown and Spectre [Comic]

Fri, 01/12/2018 - 11:48am

Categories: Technical

GitHub Repo Sharing: kubernetes-scripts

Fri, 01/12/2018 - 11:02am

I have been learning k8s for several months. Some scripts, I have been using quite often.

Here comes the GitHub repo: kubernetes-scripts.

Categories: Technical

Scaling Oracle Data, Part 2: Simple Deployment of Tarantool

Fri, 01/12/2018 - 11:02am

This is the second installment of a two-part series about Oracle. Part 1 can be found here.

You can replicate an Oracle client using Oracle CDC or a third-party product. This data from Oracle can be both read and written in Tarantool — and the replication can be done both ways. Melding these two technologies together so perfectly, I’ll let you decide whether we call it "Orantool" or "Taracle."

Categories: Technical

API Life Cycle Basics: API Management

Fri, 01/12/2018 - 11:01am

The need to manage APIs is one of the older aspects of doing business with web APIs. Beginning around 2006, then maturing, and being baked into the cloud and markets by 2016. Whether it is through a management gateway that proxies existing APIs, natively as part of the gateway that is used to deploy the APIs themselves, or as a connective layer within the code, API management is all about authenticating, metering, logging, analyzing, reporting, and even billing against API consumption. This landscape has significantly shifted lately, with the bottom end of the market becoming more competitive, but luckily there are enough open source and cloud solutions available to get the job done.

Over the last decade, API management providers have collectively defined some common approaches to getting business done using web APIs. While still very technical, API management is all about the business of APIs, and managing the value generated from providing access to data, content, algorithms, and other digital resources using the web. Here are the handful of common aspects of API management, which are being baked into the cloud, and made available across a number of open source solution providers catering to the API space:

Categories: Technical

OpenWhisk Web Actions

Fri, 01/12/2018 - 11:01am

The first way that you learn to call your OpenWhisk action over HTTP is a POST request that is authenticated using your API key. This key allows all sorts of write access to your account, so you never release it.

If you want to access the action over HTTP without the API key, you have two choices: Web Actions or API Gateway.

Categories: Technical

Artificial Intelligence: In Math I Trust

Fri, 01/12/2018 - 11:01am

Artificial intelligence has been shaping our world since the 1970s, or even before. There were three big moments of investment going into artificial intelligence:

  1. Neural networks and statistical machine learning algorithms, which are inspired by the general information processing strategy of the brain. Later in this article, we will talk more about them.
  2. Expert systems that became some of the first truly successful forms of artificial intelligence (AI) software. They are knowledge-based systems composed of two sub-systems: the knowledge base and the inference engine. The knowledge base represents facts about the world. The inference engine is an automated reasoning system that evaluates the current state of the knowledge-base, applies relevant rules, and asserts new knowledge into the knowledge base. The main idea is that intelligent systems derive their power from the knowledge they possess rather than from the specific formalisms and inference schemes they use.
  3. Genetic algorithms, support vector machines, clustering, and supervised learning models with associated learning algorithms that analyze data used for classification and regression analysis.

It started in 1950 when a handful of pioneers from the nascent field of computer science started asking whether computers could be made to "think."

Categories: Technical

Scale Cube: Simplified Scale Model for Microservices

Fri, 01/12/2018 - 11:01am

One of the key benefits of microservices architecture is ease of scale. While going through various deployment and scaling model for microservices, I came across a very interesting scaling model called Scale Cube, defined by Martin L. Abbott and Michael T. Fisher. This model explains how infinite scaling can be achieved by implementing a three-dimensional approach, including functional decomposition and sharding.

The Scale Cube can be represented by this simple diagram:

Categories: Technical