Monday 25 June 2018

JCG Weekly: JDK 11: Beginning of the End for Java Serialization?, Dependency Injection with Code Examples

[MEGA DEAL] The Ultimate Backend Developer Bundle (98% off)
Facebook
Twitter
LinkedIn
Google Plus
Email
Your Weekly Java Code Geeks Dose

Download Minibooks!

 

How to Build (and Scale) with Microservices

Today, modern enterprise is rushing head first into an always-on, digital-centric, mobile world. Organizations that fail to modify their approach to technology will be left by the wayside as others incorporate highly flexible and scalable architectures. The rapid rise in popularity of microservices was driven by these market influences. In just a few short years, companies have implemented various configurations of technologies to offer the best user experience.

 
 

10 Tips for Enterprise Cloud Migration

Technologies once relegated to the pages of science fiction novels—artificial intelligence, digital currency, and self-driving cars to name a few—have become a reality. Enterprises must innovate with high velocity and at massive scale to stay competitive. Cloud adoption has become a strategic imperative for enterprises—it's the price required to transform into a digital business. Equipped with these 10 tips, we hope can start realizing the full potential of the cloud for your organization.

 
From our sponsors:
 

"Sharpen your axe!"

Find a faster way for enterprise application development. Watch a free webinar on how to build an application with CUBA Platform in 45 minutes.

Best of the Week from JCG

Most OAuth 2.0 guides are focused around the context of a user, i.e., login to an application using Google, Github, Okta, etc., then do something on behalf of that user. While useful, these guides ignore server-to-server communication where there is no user and you only have one service connecting to another one.
 
[MEGA DEAL] The Ultimate Backend Developer Bundle (98% off) (by Michail Kordelakos)
Hey fellow geeks,This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 98% off on The Ultimate Backend Developer Bundle. Get it now with only $49, instead of the original price of $2,786.

Migrating from Docker Compose to Kubernetes (by AppDynamics)
The growth of the AppDynamics Demo Platform resulted in infrastructure that had become larger and more difficult to manage without a real orchestration tool. We will look at the steps involved in converting one of our Docker Compose to Kubernetes applications and what we gained by it.

 
JDK 11: Beginning of the End for Java Serialization? (by Dustin Marx)
In the blog post "Using Google's Protocol Buffers with Java," I quoted Josh Bloch's Third Edition of Effective Java, in which he wrote, "There is no reason to use Java serialization in any new system you write." Bloch recommends using "cross-platform structured-data representations" instead of Java's deserialization.

 
In this article, we will demonstrate how fast and easy this can be done by leveraging two Java frameworks; Vaadin and Speedment. Because they both use Java Streams, it easy to connect them together. This means we will end up with a short, concise and type-safe application.

Mega-Deal: Programming Courses from Only $10.99!


We have arranged a mega-deal with Udemy for your eyes only! You can purchase each course from just $10.99. The deal will be available for LIMITED TIME ONLY, so make sure to grab them now!
 

Latest JCG Examples

This article is about installing Selenium IDE and the various commands you can run to enable test automation. This article will cover the most frequently used Selenium IDE Commands.
 
Java JDBC PostgreSQL Connection Example
 This article is a Java JDBC PostgreSQL Connection Example. PostgreSQL is an object-relational database management system. It's one of the most popular databases used in the world.

Git Download Repository Example
In this post, we feature a comprehensive Git Download Repository Example. Git is an open source distributed version control system designed to handle everything from small to large projects with speed and efficiency. In this post, we feature a Play! Framework Hello World Example. We are going to develop our old style, to learn new concepts on "HelloWorld" example using Play Framework, Scala Language and SBT build tool.
  Servlets are essentially the first and main technology in Java world capable of dynamic page generation, now in its version 4.0.

Best Web Code Geeks Articles


Deployment Options for .NET Microservices Agent (by Appdynamics)
Discover faster, more efficient performance monitoring with an enterprise APM product learning from your apps. Take the AppDynamics APM Guided Tour!

Is it possible to Outside-In TDD on front-end? (by Nacho Garcia)
Traditionally, because of lack of tools or knowledge, there have not been that many good practices in front-end development. You probably just made the jQuery work and if you were lucky you used Selenium to automate ...

Simplified GitHub Login for a Ruby Web App (by Yegor Bugayenko)
You know what OAuth login is, right? It's when your users click "login" and get redirected to Facebook, Twitter, Google, or some other website which then identifies them.

Best System Code Geeks Articles


Spring Boot & Cockroach DB in Kubernetes/OpenShift (by Alex Soto)
In my previous post, I showed why Cockroach DB might help you if you need a cloud native SQL database for your application. I explained how to install it in Kubernetes/OpenShift and how to validate that the data...

Connect to PostgreSQL using PHP (by Gabriel Canepa)
In this course, we provide a compilation of PostgreSQL tutorials that will help you set up and run your own database management system.
 
Apache enable SSL / TLS tutorial (by Gabriel Canepa)
In this post, we feature a comprehensive Apache enable SSL / TLS Tutorial. This article is part of our Academy Course titled Apache HTTP Server Tutorial.

New and Noteworthy from the Community


Istio and the Future of Service Meshes
It wouldn't be a stretch to say that Istio popularized the concept of a "service mesh". Before we get into the details on Istio, let's briefly dive into what a service mesh is and why it's relevant.

Design Patterns Explained – Dependency Injection with Code Examples
Dependency injection is a programming technique that makes a class independent of its dependencies. It achieves that by decoupling the usage of an object from its creation.

How Do We Define Java?
Java is a massively overloaded word. For a start, it is the name of an Indonesian island as well as being a term for coffee. Then we have Java, the computing platform.

IntelliJ IDEA EAP 5: Dark Window Headers on macOS, Browse Repository at Revision, and more
Today we have a new IntelliJ IDEA 2018.2 EAP build for you to try. You can download it right now from the website, update to it via Toolbox App, or use patches for the in-product update if you're using previous EAP build.

4 Problems with Java's Exceptions and How Scala Can Help
Error handling is important for many common operations—from dealing with user input to making network requests. An application shouldn't crash just because a user enters invalid data or a web service returns a 500.

Blast from the Past !


Optimizing Android Test Automation Development
Now that we are a few weeks away from Google I/O, and we understand that the complex Android landscape is becoming, even more, complex let's explore...

Spring Boot Admin – Admin UI for administration of spring boot applications
As part of micro services development many of us are using Spring Boot along with Spring Cloud features.

Java Command-Line Interfaces (Part 1): Apache Commons CLI
In this post, I look at one of the best known of these Java command line parsing libraries: Apache Commons CLI.

Featured Mini-Books!


Apache Hadoop Cookbook
Apache Hadoop is an open-source software framework written in Java for distributed storage and distributed processing of very large data sets on computer clusters built from commodity hardware. All the modules in Hadoop are designed with a fundamental assumption that hardware failures are common and should be automatically handled by the framework. Hadoop has become the de-facto tool used for Distributed computing.


Getting Started with Mobile Application Testing
You're thinking of building a mobile app or perhaps you've already built one; depending on the approach you've taken, it could be a web app1, a native app2, or both. Mobile devices complicate testing further. An app that runs on one device might not run as expected on another, even if both devices are running the same operating system (OS) or OS version. As with desktop browsers, mobile browsers are implemented differently across mobile devices or mobile device OS, so there's no guarantee that what runs on one device will work the same on another.
Your Suggestions
Any ideas or suggestions? Shoot us an email at newsletter@javacodegeeks.com
Copyright © 2018 Exelixis Media P.C., All rights reserved.
You are receiving this email because you opted in at our website(s) www.javacodegeeks.com, examples.javacodegeeks.com

Our mailing address is:
Exelixis Media P.C.
Nafpaktias 18
Kesariani, Attica 16121
Greece

Add us to your address book
unsubscribe from this list    update subscription preferences

No comments:

Post a Comment