Skip to main content
  • Log in
  • Manage Cookies
Eclipse Foundation
Download
  • Projects
  • Working Groups
  • Members
  • Community
    • Marketplace
    • Events
    • Planet Eclipse
    • Newsletter
    • Videos
    • Blogs
  • Participate
    • Report a Bug
    • Forums
    • Mailing Lists
    • Wiki
    • IRC
    • Research
  • Eclipse IDE
    • Download
    • Learn More
    • Documentation
    • Getting Started / Support
    • How to Contribute
    • IDE and Tools
    • Newcomer Forum
  • More
      • Community

      • Marketplace
      • Events
      • Planet Eclipse
      • Newsletter
      • Videos
      • Blogs
      • Participate

      • Report a Bug
      • Forums
      • Mailing Lists
      • Wiki
      • IRC
      • Research
      • Eclipse IDE

      • Download
      • Learn More
      • Documentation
      • Getting Started / Support
      • How to Contribute
      • IDE and Tools
      • Newcomer Forum
  1. Home
  2. Blogs
  3. Ivar Grimstad's blog
  4. Hashtag Jakarta EE #28

Hashtag Jakarta EE #28

Sunday, July 12, 2020 - 05:59 by Ivar Grimstad

Welcome to the twenty-eighth issue of Hashtag Jakarta EE!

The CFP for JakartaOne Livestream 2020 is open! It will close on July 31, so submit sooner rather than later. We will be reviewing abstracts continuously.

I am happy to announce that my talk Jakarta EE 9 and Beyond is scheduled for EclipseCon 2020. All speakers are given the option to record their talks in advance for this year’s all virtual conference. Given that the planned release date for Jakarta EE 9 is September 16 and pre-recorded talks must be submitted by September 7, this talk will be a live session.

On Wednesday, July 15, there is a new Jakarta EE Update call. Check the Jakarta EE Community Calendar for details.

Tip: Click on in the lower right corner to add this calendar to your Google Calendar. That way, you won’t miss out on anything.

Trying out Jakarta EE 9

It is only a couple of weeks since the Jakarta EE 9 milestone was released, and the implementations supporting it are releasing builds frequently adding more support.

I have added a simple servlet here that you can now run on Tomcat, GlassFish, and Jetty. More implementations to come…

package com.demo.simple;

import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet(name = "hello", urlPatterns = {"/hello"})
public class SimpleHello  extends HttpServlet {

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
     
        resp.setContentType("text/html;charset=UTF-8");
        resp.getWriter().println( "Hello Jakarta EE 9!");
    }
}

The pom.xml file has the

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.demo</groupId>
    <artifactId>simple-hello</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>war</packaging>
    <name>simple-hello-1.0-SNAPSHOT</name>
    
    <properties>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <failOnMissingWebXml>false</failOnMissingWebXml>
    </properties>

    <build>
        <finalName>simple-hello</finalName>
    </build>
  
    <dependencies>
        <dependency>
            <groupId>jakarta.platform</groupId>
            <artifactId>jakarta.jakartaee-api</artifactId>
            <version>9.0.0-RC2</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>
    
</project>

If you haven’t made your Jakarta EE 9 Milestone cupcake yet, take a look at this awesome video by Markus Karg in his blog post, Jakarta EE 9 M1 Sneak Peak to be inspired.

Tags: 
EclipseFoundation
Hashtag JakartaEE
Jakarta EE
Community
Eclipse Foundation
Source: 
https://www.agilejava.eu/2020/07/12/hashtag-jakarta-ee-28/
  • Ivar Grimstad's blog
  • Sign in to post comments.

Eclipse Foundation Blogs

  • Ian Skerrett (857 posts)
  • Wayne Beaton (796 posts)
  • Mike Milinkovich (286 posts)
  • Benjamin Cabé (131 posts)
  • Ivar Grimstad (89 posts)
  • Tanja Obradovic (34 posts)
  • Thabang Mashologu (30 posts)
  • Christopher Guindon (15 posts)
  • Roxanne Joncas (14 posts)
  • Paul Buck (10 posts)
  • Frédéric Desbiens (10 posts)
  • Jameka Woodberry (9 posts)
  • Hudson Kelly (8 posts)
  • Mikaël Barbero (8 posts)
  • Brian King (5 posts)
  • Gabriela Motroc (4 posts)
  • Denis Roy (4 posts)
  • Shabnam Mayel (3 posts)
  • Gael Blondelle (3 posts)
  • Sharon Corbett (1 posts)
  • Shanda Giacomoni (1 posts)
  • Paul White (1 posts)
  • Stephanie Swart (1 posts)

Recent blog posts

  • The Top 10 Sessions from EclipseCon 2020
  • Marketing Programs for Members: How you can get involved
  • Hashtag Jakarta EE #55
  • The Eclipse Foundation’s Move to Europe: Membership Impacts
  • Welcome to the Eclipse Foundation AISBL
  • Help Shape the Future of IoT and Edge by Completing Our Survey
  • The Top 5 IoT Sessions from EclipseCon 2020
  • Hashtag Jakarta EE #54
  • Member Case Study: Obeo Accelerates Growth With a Strategic Membership
  • The Top 5 ECD Tools Sessions from EclipseCon 2020
More

Eclipse Foundation

  • About Us
  • Contact Us
  • Donate
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors

Legal

  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace

Other

  • IDE and Tools
  • Projects
  • Working Groups
  • Research@Eclipse
  • Report a Vulnerability
  • Service Status

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top