Camelcasecon 20190522 Qua

Total Page:16

File Type:pdf, Size:1020Kb

Camelcasecon 20190522 Qua I’m an Open Source enthusiast since I got in touch with Linux back in 1994 while trying to study Mathematics in Göttingen and got tired to go to the institute or data center to compile C programs for Unix. In 1999 I got infected by the Java virus and worked as a Java Developer at a startup company which went IPO. While looking for another application-server I stumbled upon JBoss in 2001 and decided to write my Diploma Thesis on Computer Science at the University of Applied Science in Dortmund with and about JBoss in 2004. I joined a Telecommunications Company in Düsseldorf by then, where I worked in various positions as Software Developer, Tester, Integration Lead, Project Manager and Operation Specialist. In 2012 I got hired by Red Hat as a Consultant and continued my Middleware journey with JBoss and other products, but got tempted in 2015 by the dark side (they have cookies) and changed into a Pre-Sales role. Challenges for Java (now and future) CONTAINER JAVA // @ro14nd // k8spatterns.io 1996 CONTAINER JAVA // @ro14nd // k8spatterns.io 1999 CONTAINER JAVA // @ro14nd // k8spatterns.io 2009 CONTAINER JAVA // @ro14nd // k8spatterns.io 2019 https://www.tiobe.com/tiobe-index/ VM VM 10 per APP APP Server CONTAINER CONTAINER 100 per LIBS LIBS Server GUEST OS GUEST OS APP APP HYPERVISOR LIBS LIBS HOST OS HOST OS SERVER SERVER PHYSICAL SERVER VIRTUAL MACHINE CONTAINER INSTANCE 27 HRS 12 MINS 10 SECS F F F F F F F F F F F F F F F F F F F F MICRO MICRO MICRO MICRO MICRO SERVICE SERVICE SERVICE SERVICE SERVICE F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F MICRO MICRO MICRO MICRO MICRO SERVICE SERVICE SERVICE SERVICE SERVICE F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F MONOLITH MICRO MICRO MICRO MICRO MICRO F F F F F F F F F F F F F F F F F F F F SERVICE SERVICE SERVICE SERVICE SERVICE F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F MICRO MICRO MICRO MICRO MICRO SERVICE SERVICE SERVICE SERVICE SERVICE F F F F F F F F F F F F F F F F F F F F ● 1 monolith ≈ 20 microservices ≈ 200 functions ● Scale to 1 vs scale to 0 ● Start up time 62.9% Node.js 20.8% Python 6.1% 6.4% Go Java 6.1% Java 3.8% C# https://serverless.com/blog/2018-serverless-community-survey-huge-growth-usage/ Agility, Scalability, Faster Business Reactivity App 1 App 2 App 3 App 4 App 5 Data Data Data Data Container platform HotSpot Heap NodeJS Go Go NodeJS Go Go HotSpot Heap NodeJS Go Go NodeJS Go Go HotSpot Heap NodeJS Go Go NodeJS Go Go HotSpot Heap NodeJS Go Go Node Node Node Container platform ● Startup overhead ○ # of classes, bytecode, JIT ● Memory overhead ○ # of classes, metadata, compilation ● Multi tenancy Heap Metaspace off-heap RSS What is Quarkus? Supersonic. Subatomic. Java. https://quarkus.io a Red Hat sponsored project Cloud Native, Microservices, Serverless https://github.com/quarkusio/quarkus How does it work? Runnable java app Hotspot Runnable & Image Wiring & Provision Compile Assemble (curate) (augment) AOT Native Native Executable & Compilation Image app.jar frameworks Native-app (GraalVM) Steps ● Metadata processing, such as reading annotations, XML descriptors etc. ○ Output is recorded bytecode which is responsible for directly instantiating the relevant runtime services. ○ Processed once at build time, which reduces startup time and memory consumption ● Enforce opinionated and sensible defaults based on the close world view of the application (don’t run unused services) ● Dead code elimination ● Send metadata to GraalVM for example classes in need of reflection Concepts ● Favor build time work over runtime work ● Unified configuration into a single file, application.properties Sulong (LLVM) Truffle Graal Compiler JVM CI Substrate VM Java HotSpot VM https://github.com/oracle/graal What are the advantages? REST + CRUD Quarkus + GraalVM Quarkus + OpenJDK Traditional Cloud-Native Stack 35 MB 130 MB 218 MB REST + CRUD Quarkus + GraalVM 0.055 Seconds Quarkus + OpenJDK 2.5 Seconds Traditional Cloud-Native Stack 9.5 Seconds A cohesive platform for optimized developer joy: ● Based on standards, but not limited ● Unified configuration ● Zero config, live reload in the blink of an eye ● Streamlined code for the 80% common usages, flexible for the 20% ● No hassle native executable generation Eclipse Vert.x Hibernate RESTEasy Apache Camel Eclipse MicroProfile Netty Kubernetes OpenShift Jaeger Prometheus Apache Kafka Infinispan @Inject @Inject @Stream(”kafka”) SayService say; Publisher<String> reactiveSay; @GET @GET @Produces(MediaType.TEXT_PLAIN) @Produces(MediaType.SERVER_SENT_EVENTS) public String hello() { public Publisher<String> stream() { return say.hello(); return reactiveSay; } } ● Combine both Reactive and imperative development in the same application ● Inject the EventBus or the Vertx context ● Use the technology that fits your use-case @Entity @Produces("application/json") public class Todo extends PanacheEntity { @Consumes("application/json") @Column(unique=true) @NotBlank public class TodoResource { public String title; @GET public String url; Public List<Todo> getAll() { public boolean completed; return Todo.listAll(Sort.by("order")); @Column(name=”ordering”) } public int order; } } ● Similar to ActiveRecord in Ruby on Rails ● Works with Transactions (@Transactional) ● Extendable @QuarkusTest public class GreetingResourceTest { @Test public void testHelloEndpoint() { given() .when().get("/hello") .then() .statusCode(200) .body(is("hello")); } @Test public void testGreetingEndpoint() { String uuid = UUID.randomUUID().toString(); given() .pathParam("name", uuid) .when().get("/hello/greeting/{name}") .then() .statusCode(200) .body(is("hello " + uuid)); } } Where does it fit? ● Greenfield applications ● Microservice-Architectures ● Serverless applications ● Brownfield applications, depends on effort for migration How to create applications For Quarkus (current version 0.15) the following components should be installed ● IDE (f.e. CodeReady Studio) ● Open JDK 8 (Download for Windows) ● Apache Maven 3.5.3+ (Download) (works with Gradle, too) ● GraalVM 0.16 (Download Community Edition) Also an environment variable GRAALVM_HOME needs to be set and pointing to the GraalVM installation. For ease of use this should also be done for JAVA_HOME and MAVEN_HOME. export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk export MAVEN_HOME=/home/jcordes/Software/Maven/apache-maven-3.5.4 export GRAALVM_HOME=/usr/lib/jvm/graalvm mvn io.quarkus:quarkus-maven-plugin:0.15.0:create \ -DprojectGroupId=de.camelcasecon \ -DprojectArtifactId=getting-started \ -DclassName="de.camelcasecon.quickstart.GreetingResource" \ -Dpath="/hello" mvn compile quarkus:dev curl -v "http://localhost:8080/hello" ● Live-Reloading: Just change the code ● List and add extensions: mvn quarkus:list-extensions mvn quarkus:add-extension -Dextensions="groupId:artifactId" ● Compile to native code: ./mvnw package -Pnative How to port applications ● Change Maven dependencies (use quarkus.io/quarkus-bom/${quarkus-version}) ● CDI: Replace javaee-api with quarkus-arc ● EJB Timer: Replace with quarkus-scheduler ● JAX-RS: Replace resteasy with quarkus-resteasy ● JPA: Move persistence.xml info to application.properties, use quarkus-hibernate-orm ● ... ● Register for reflection via Quarkus Processor @buildstep method (ReflectiveClassBuildItem) or @RegisterForReflection annotation on class level ● Include resources via @buildstep method (SubstrateResourceBuildItem) ● Delay class initialization via @buildstep method (RuntimeInitializedClassBuildItem) ● Manage Proxy Classes via @buildstep method (SubstrateProxyDefinitionBuildItem) ● ... ● Augmentation step of Quarkus generates classes for various purposes, these can be viewed with ./mvnw clean install -Dquarkus.debug.generated-classes-dir=./target/app-generated-classes https://quarkus.io/guides/writing-native-applications-tips https://developers.redhat.com/blog/2019/04/12/migrating-java-applications-to-quarkus-lessons-learned/ Support Status CONTEXTS AND DEPENDENCY INJECTION @ConversationScoped not supported Decorators not supported Portable Extensions not supported BeanManager - only the following methods are partially supported implemented: getBeans(), createCreationalContext(), getReference(), resolve(), getContext(), getEvent() and createInstance() Specialization not supported beans.xml descriptor content is ignored not supported Passivation and passivating scopes not supported Transitive interceptor bindings and interceptor not supported methods on superclasses are not implemented yet What Support Status Dynamic Class Loading / Unloading Not supported Reflection Mostly supported Dynamic Proxy Mostly supported Java Native Interface (JNI) Mostly supported Unsafe Memory Access Mostly supported Static Initializers Partially supported InvokeDynamic Bytecode and Method Not supported Handles What Support Status Synchronized, wait, and notify Supported Finalizers Not supported References Mostly supported Threads Supported Identity Hash Code Supported Security Manager Not supported JVMTI, JMX, other native VM interfaces Not supported JCA Security Services Supported The future ● GraalVM 0.19 support, this will also allow for native applications on Windows ● Supporting more frameworks Resources ● Quarkus Website ● Quarkus Guides ● Quarkus on Github ● Quarkus Quickstarts ● Quarkus: Supersonic, subatomic Java | DevNation Live https://learn.openshift.com/middleware/courses/middleware-quarkus/ .
Recommended publications
  • Quarkus – the Kubernetes Native Java Framework
    Cheat Sheet Quarkus – the Kubernetes Native Java Framework by Alex Soto Start-Up What is Quarkus? Quarkus is a Kubernetes Native Java stack tailored for GraalVM & OpenJDK HotSpot that makes Java programs run 10X faster and 100X smaller. It also improves the developer ex- perience by adding features like live reloading/debugging and persistence with Panache. Requirements • Java 8 • Maven 3.5.3+ (recommended Maven 3.6.X) • GraalVM 19 or Docker (optional for native compilation) Scaffolding a Quarkus application You can create a minimal Quarkus application using a Maven goal. This goal creates a mi- nimal endpoint, a test and Docker resources: mvn io.quarkus:quarkus-maven-plugin:0.19.1:create \ -DprojectGroupId=org.alexsotob \ -DprojectArtifactId=jax \ -DclassName="org.alexsotob.quickstart.GreetingResource" \ -Dpath="/hello" Start Quarkus in live reload (dev) mode: ./mvnw compile quarkus:dev You can request the provided endpoint: curl http://localhost:8080/hello Live Reload You can make any change on any (Java) resource and, if the Quarkus application was star- ted in live reload mode, the change will be automatically reflected without having to re- compile or repackage the application. Try it by changing the output value of the src/main/- java/org/alexsotob/quickstart/GreetingResource.java class. Packaging Run ./mvnw package to generate a jar file called jax-1.0-SNAPSHOT-runner.jar that contains the application and lib directory containing required dependencies for running the applicati- on. Quarkus, unlike other solutions, does not create a fat jar so as to be Docker layers fri- endly. Both jar file and lib folder should be placed together in the same directory.
    [Show full text]
  • Podman, Buildah and Quarkus the Latest in Linux Containers Technology
    Podman, Buildah and Quarkus The Latest in Linux Containers Technology Daniel Oh Open Source Summit Japan 2019 1 About Me Daniel Oh ● Principal Technical Product Marketing Manager at Red Hat ○ Cloud Native App Development ○ Agile & DevOps practices ● CNCF Ambassador ● Java Developer ● Opensource.com Moderator ● Public Speaker & Writer [email protected] @danieloh30 danieloh30 INTRODUCTION Container tools landscape is changing. Why? Since Open Container Initiative (OCI) there are several new projects What needs do these projects address? What are these projects and when should I use them? What specific security concern does each address? 3 @danieloh30 INTRODUCTION Early concerns with Docker Since the early days enterprise users of Docker had concerns ● Build requires a “big fat” daemon on every host ● Regression for integration with container platforms Kubernetes/OpenShift ● Build has secret handling issues ● Root/privileged concerns at runtime ● Root/privileged concerns with daemon ● Build requires a running container 4 @danieloh30 INTRODUCTION ● Docker, Red Hat et al. June 2015 ● Two specifications ○ Image format ■ How to package an OCI Image with sufficient information to launch the application on the target platform ○ Runtime ■ How to launch a “filesystem bundle” that is unpacked on disk ● Version 1.0 of each released July 19th 2017 ● Distribution spec started in April, 2018. 5 @danieloh30 CONTAINERS ARE LINUX ARE CONTAINERS Containers are Linux 6 CONTAINERS ARE LINUX Container innovation continues …. buildah.io podman.io LXC Initial Docker OCI release initial CNCF Aug May Mar Mid Jun Nov Mar Apr Jun Sep May Sep May ‘08 ‘11 ‘13 ‘14 ‘15 ‘15 ‘16 ‘17 ‘17 ‘17 ‘18 ‘18 ‘19 Moby OpenShift Initial Buildah Buildah 1.0 online OpenShift release, Skopeo Podman Enterprise Buildah Podman New logo Kubernetes 3.0 RHEL 7 @danieloh30 CONTAINERS ARE LINUX How did Docker change containers? Docker Image Docker CLI Daemon Layers registry Application Docker daemon App.
    [Show full text]
  • Getting Started with Quarkus
    BROUGHT TO YOU IN PARTNERSHIP WITH CONTENTS ∙ Key Benefits ∙ Getting Started ∙ Key Components Getting Started ∙ JAX-RS ∙ Health Checks With Quarkus ∙ Security and JWT ∙ Docker and Native ∙ Container Images ∙ And more! ALEX SOTO ∙ Conclusion DIRECTOR OF DEVELOPER EXPERIENCE, RED HAT Quarkus is a Kubernetes-Native Java stack tailored to GraalVM and GETTING STARTED OpenJDK HotSpot, helping Java programs run 10X faster, while being To create a Quarkus service, you just need to run the next Maven goal 100X smaller. Improving the developer experience, Quarkus provides into an empty directory: additional features like live reloading and debugging as well as mvn io.quarkus:quarkus-maven-plugin:1.13.1.Final:create persistence with Panache. \ Its integration with the Eclipse MicroProfile specification also makes -DprojectGroupId=org.acme \ -DprojectArtifactId=hello-world \ it the perfect choice for developing microservices and deploying -DclassName="org.acme.quickstart.GreetingResource" \ them in Kubernetes. -Dpath="/hello" KEY BENEFITS LIVE RELOAD Quarkus offers near-instant scale-up and high-density utilization in Quarkus applications come with a live reload feature that allows container orchestration platforms such as Kubernetes. Many more the developer to make changes to their source code, which will be application instances can be run using the same hardware resources. directly reflected in the deployed code without having to recompile In Quarkus, classes used only at application startup are invoked at or repackage the source code. build time and not loaded into the runtime JVM. Quarkus also avoids reflection as much as possible. These design principles reduce the size and memory footprint of an application running on the JVM.
    [Show full text]
  • Quarkus Cookbook Kubernetes-Optimized Java Solutions
    Quarkus Cookbook Kubernetes-Optimized Java Solutions Alex Soto Bueno & Jason Porter Quarkus Cookbook Kubernetes-Optimized Java Solutions Alex Soto Bueno and Jason Porter Quarkus Cookbook by Alex Soto Bueno and Jason Porter Copyright © 2020 Alex Soto Bueno and Jason Porter. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://oreilly.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or [email protected]. Acquisitions Editor: Suzanne McQuade Indexer: Potomac Indexing, LLC Development Editor: Jeff Bleiel Interior Designer: David Futato Production Editor: Daniel Elfanbaum Cover Designer: Karen Montgomery Copyeditor: Piper Editorial Illustrator: Rebecca Demarest Proofreader: Amanda Kersey July 2020: First Edition Revision History for the First Edition 2020-07-14: First Release See http://oreilly.com/catalog/errata.csp?isbn=9781492062653 for release details. The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. Quarkus Cookbook, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc. The views expressed in this work are those of the authors, and do not represent the publisher’s views. While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work.
    [Show full text]
  • Microserviços Supersônicos E Subatômicos Com Quarkus Pedro Hos and William Siqueira Pedro Hos @ Github.Com/Pedro-Hos
    Microserviços Supersônicos e Subatômicos com Quarkus Pedro Hos and William Siqueira Pedro Hos @ github.com/pedro-hos ● Banco de Dados @ FATEC São José dos Campos 2012 ● I’ve worked as Java Developer in some companies ● Since 2017 I am Software Maintenance Engineer @ Red Hat ● JUG Leader at JUG Vale jugvale.com ● Contributor at SJCDigital github.com/sjcdigital ● Blogger at pedrohosilva.wordpress.com ● Opensource and some source code samples github.com/pedro-hos William Siqueira @ github.com/jesuino ● Banco de Dados @ FATEC São José dos Campos 2010 ● Software Engineer @ Red Hat ● Colaborador do JUG Vale jugvale.com ● Colaborador do SJCDigital github.com/sjcdigital ● Escreve em alguns blogs ● Palestrante JavaOne, The Developers Conference, FISL e outros ● Opensource github.com/jesuino Schedule ● Microservices overview ● Java and microservices ● Eclipse Microprofile ● Quarkus - numbers ○ First demo ■ Add hello endpoint - play with configuration - add json - add health check ■ add swagger - fault tolerance ● Quarkus features ○ Extensions - talk about all extensions ○ Second Demo - Database - security ○ Kogito Demo ● Quarkus Native - talk about how quarkus can be compiled to native ● Quarkus on Openshift/Kubernetes What are microservices Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of services that are ● Highly maintainable and testable ● Loosely coupled ● Independently deployable ● Organized around business capabilities ● Owned by a small team The microservice
    [Show full text]
  • Maven Plugin for Defining Sql Schema
    Maven Plugin For Defining Sql Schema Wily Nealy never nerved so synergistically or bowses any lobules crassly. Von is unanchored and job salleeforward pander as seemly not continuously Cyrus labializing enough, grossly is Wallas and misspeaking teleological? forcibly. When Obie encouraged his The library translates to install plugin sql plugin for maven schema update scripts in the maven central character bash shell script This plugin sql schemas that defines no longer pass it is plugins will define custom webapps that. Storing the most common attack in the information regarding their projects using maven for enabling query for this argument passed to relational database. Just defining identifier attribute which would become out all maven plugin for defining sql schema changes made permanent. I am setting up first liquibase maven project told a MySQL DB. Like to sql plugin execution is useful for defining different mechanisms of jdbi provides all for maven defining sql plugin schema? Both catalog and collections have created database plugin schema to apply changes are both. Format A formatter for outputting an XML document with three pre-defined. Configuring the Alfresco Maven plugin Alfresco Documentation. The installation of the MSSQL schema was pure pain there were a turn of plain SQL files which had even be. The maven for defining and define sql schemas for uuid identifier. To load SQL statements when Hibernate ORM starts add an importsql file to the. Setting up and validating your film project Using Maven. The hibernate3-maven-plugin can dash be used to toe a schema DDL from. For maven plugin creates sql schemas, you can become.
    [Show full text]
  • Postgresql Java Example Schema
    Postgresql Java Example Schema Hypertensive and gonidial Orlando petitions: which Quincey is tamest enough? Burton often mimes someplace when prosodical Stanly fractionized nobbily.conceivably and rung her anthracnose. Joab is multiplicative and insculp idolatrously as genitival Mattheus detribalizing geognostically and refurnishes You should test it reproduce a development environment thoroughly before depending on ball in production. Sql schemas in java, everything worked correctly process one level of all operations in any data. One query interface allows it more child of java code example, incremental sql below are two done within postgresql java example schema in the. You can amend add important new kayak using a POST. Each java class of schema names to postgresql java example schema outside the schema changes to postgresql. In this truth, we wanted to wise the info of having exact postgresql. Java programming language implementation transparently without specifying a java triggers to postgresql java example schema are now know! Sql Set Schema Postgresql Blue streak Action Council. When your database is closed, it feel possible to backup the database files. In this blog post race will both consider Migrations that are flush as plain SQL There always more advanced concepts like writing Migrations in Java. For the example how debezium includes whether jdbc connection settings. Optional field schemas that schema field from the examples are a fresh containerized instance, it starts to. Since the credentials are OK, it news show exactly same output as trust first class. Springdatasourceurljdbcpostgresqllocalhost5432Workflow. The init function must drive a public static method which takes a javasql. Flyway Database Schema Migrations Vlad Mihalcea.
    [Show full text]
  • Quarkus Is a System for Accelerating Java Performance Through the Use of Graalvm
    SED 953 Transcript EPISODE 953 [INTRODUCTION] [00:00:00] JM: Java programs run in a very different environment than they did 10 years ago. Modern infrastructure often runs on containers sitting in a Kubernetes cluster. The optimal configuration for a Java program in that context is different than it was for an environment dominated by virtual machines and bare metal. When you are co-scheduling your services with each other, those services could be fighting for resources. You may want to optimize them with more ahead of time compilation. Quarkus is a system for accelerating Java performance through the use of GraalVM. In a previous show, we explored the basics of GraalVM. In today’s show, Guillaume Smet and Emmanuel Bernard join the show to describe an application of GraalVM, which is the acceleration of Java. Guillaume and Emmanuel are engineers at Red Hat and they’re working on changes to the Java ecosystem that are informed by the cloud and the rise of Kubernetes. GraalVM and Quarkus are fairly complex topics, but they seem very futuristic and they seem relevant. So I hope you get something out of this episode even if it’s a bit hard to understand on a technical level. If you are deeply familiar with Java, I think you will get a lot out of it. If you’re building a software project, post it on Find Collabs. Find Collabs is the company I’m working on. It’s a place to find collaborators for your software projects. We integrate with GitHub and make it easy for you to collaborate with others on your open source projects and find people to work with who have shared interests so that you can actually build software with other people rather than building your software by yourself.
    [Show full text]
  • Building a Kubernetes Operator in Quarkus
    D E M 3 5 - S Building a Kubernetes Operator in Quarkus Fabian Lange VP of Engineering Instana © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is… Kubernetes? Container orchestration system An Operator? Kubernetes software extension to manage applications and its components Quarkus? Java framework designed for Kubernetes © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Getting Started mvn \ io.quarkus:quarkus-maven-plugin:0.19.1:create \ -DprojectGroupId=com.instana \ -DprojectArtifactId=operator-example \ -DclassName="com.instana.operator.HelloResource" \ -Dpath="/hello" mvn \ quarkus:add-extension \ -Dextensions=quarkus-kubernetes-client Creating a Kubernetes Client package com.instana.operator; public class ClientProducer { @Produces @Singleton KubernetesClient makeDefaultK8sClient(@Named("namespace") String namespace) { return new DefaultKubernetesClient().inNamespace(namespace); } @Produces @Singleton @Named("namespace") String findMyNamespace() throws IOException { return new String(Files.readAllBytes( Paths.get("/var/run/secrets/kubernetes.io/serviceaccount/namespace"))); } } Listing and Watching Pods package com.instana.operator; public class PodLister { @Inject KubernetesClient defaultClient; void onStartup(@Observes StartupEvent e) { defaultClient.pods().list().getItems().stream() .map(PodPrinter::toString) .forEach(System.out::println); defaultClient.pods().watch(new Watcher<Pod>() { public void eventReceived(Action action, Pod pod) { System.out.println(action + " on "
    [Show full text]
  • Oracle Enterprise Cloud Native Java Modernizing Enterprise Java Applications Using Weblogic Server Applications and Helidon Microservices
    Oracle Enterprise Cloud Native Java Modernizing Enterprise Java Applications using Weblogic Server Applications and Helidon Microservices Srinivas Pothukuchi – Master Principal Architect Will Lyons – Senior Director Product Management September 30, 2020 Copyright © 2020 Oracle and/or its affiliates. Safe Harbor The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, timing, and pricing of any features or functionality described for Oracle’s products may change and remains at the sole discretion of Oracle Corporation. Statements in this presentation relating to Oracle’s future plans, expectations, beliefs, intentions and prospects are “forward-looking statements” and are subject to material risks and uncertainties. A detailed discussion of these factors and other risks that affect our business is contained in Oracle’s Securities and Exchange Commission (SEC) filings, including our most recent reports on Form 10-K and Form 10-Q under the heading “Risk Factors.” These filings are available on the SEC’s website or on Oracle’s website at http://www.oracle.com/investor. All information in this presentation is current as of September 2019 and Oracle undertakes no duty to update any statement in light of new information or future events. Copyright © 2020 Oracle and/or its affiliates. Oracle WebLogic Server and Coherence Have Powered The Most Demanding Enterprise Applications Scale and Performance Fusion Middleware, Apps Robustness and Availability Oracle WebLogic Server, Coherence Operational Simplicity and Efficiency Proven, Secure, Integrated Copyright © 2020 Oracle and/or its affiliates.
    [Show full text]
  • Graalvm the Holy Grail Or Just Another Sau, Die Durchs Dorf Getrieben Wird?
    GraalVM The holy grail or just another Sau, die durchs Dorf getrieben wird? Thilo Ognibeni Köln, 03. März 2020 Have you ever heard of…? Thilo Ognibeni Software Architect / Developer Usually feeling at home in the (Java) middleware … with an exception/hiccup of Vue.js Born in Aalen, studied in Ulm, ended up in KA Worshipping agile development Proudly playing the accordion 5 GraalVM – Behind the scenes GraalVM – Practical usage Disadvantages of Java › You need a JRE to run Java programs ! › Java is slow! … Is it?? › High memory consumption › Long start-up times › “Warm-up phase” of the JVM › Not really viable for serverless computing 7 GraalVM, a VM, or what? GraalVM – a VM … more *and* less! › Name of the whole project at Oracle › Implementation of the Java Virtual Machine › Support for Native Images › Truffle Language Implementation Framework › LLVM Runtime and JavaScript Runtime › Polyglot › Embeddable › Written in Java 9 GraalVM – History and Options › Development started around 7 years ago at Oracle Labs and Johannes Kepler University Linz › New compiler for the 20 year old HotSpot Compiler › First production-ready version, GraalVM 19.0, released in May 2019 › Since 19.3.0 based either on OpenJDK 1.8.0 or 11 › Available as Community or Enterprise Edition 10 Java Virtual Machines for Beginners Graal Compiler 11 https://dzone.com/articles/jvm-architecture-explained Java Virtual Machines for Beginners 12 https://jrebel.com/rebellabs/graal-and-truffle-for-polyglot-languages-on-jvm/ GraalVM Compiler › Modern JIT Compiler › Replacing C2 Compiler in HotSpot › Written in Java (modular and extendable) › Aggressive use of › Inlining › Polymorphic Inlining (using profiling data) › Partial Escape Analysis › etc.
    [Show full text]
  • Pro Java Microservices with Quarkus and Kubernetes a Hands-On Guide
    Pro Java Microservices with Quarkus and Kubernetes A Hands-on Guide Nebrass Lamouchi Pro Java Microservices with Quarkus and Kubernetes: A Hands-on Guide Nebrass Lamouchi Paris, France ISBN-13 (pbk): 978-1-4842-7169-8 ISBN-13 (electronic): 978-1-4842-7170-4 https://doi.org/10.1007/978-1-4842-7170-4 Copyright © 2021 by Nebrass Lamouchi This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made.
    [Show full text]