Ultimate Guide: a Jakarta EE HelloWorld App with Payara Server & Maven! 🔥

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2024
  • Ultimate Guide: a Jakarta EE HelloWorld App with Payara Server & Maven! 🔥
    #JakartaEE, #HelloWorldApp, #PayaraServer, #MavenTutorial, #JavaEEDevelopment, #EnterpriseJava, #WebDevelopment, #ServerSideDevelopment, #JavaWebApplication, #JavaEEFramework, #SoftwareDevelopment, #WebApplicationDevelopment, #JavaProgramming, #JavaDevelopment, #BackendDevelopment, #ApplicationServer, #JavaWebServer, #JavaMavenProject, #JavaBuildTool, #SoftwareEngineering, #WebDevelopmentTools, #CodeTutorial, #JavaEEApplication, #JavaProgrammingLanguage, #WebAppDeployment, #javawebdevelopment
    Create a new Maven project:
    mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DgroupId=com.example -DartifactId=hello-maven-project
    more here: www.blogger.co...

ความคิดเห็น • 5

  • @MrX-gf4pe
    @MrX-gf4pe ปีที่แล้ว +1

    👍 nice

    • @moumie3246
      @moumie3246  ปีที่แล้ว

      Glad to hear it helped...

  • @Gett37
    @Gett37 ปีที่แล้ว +1

    Nice but wouldn't it be easier to use embedded server and maven plugin, so app can be run without prerequisites

    • @moumie3246
      @moumie3246  ปีที่แล้ว

      Thank you for your feedback! You make a great point. Using an embedded server and Maven plugin can indeed simplify the setup and make it easier for viewers to run the Jakarta EE HelloWorld app without many prerequisites.
      In this tutorial, I focused on using Payara Server to demonstrate the traditional deployment approach, which is commonly used in production environments. However, I agree that for development and testing purposes, an embedded server and Maven plugin would be more convenient.
      For those who prefer a lighter setup or want to quickly run the application without needing to install a separate server, using an embedded server and Maven plugin is an excellent alternative. It allows you to package the server with the application and run it as part of the build process. This approach is particularly useful during the development phase or when you want to share a self-contained demo.
      If you're interested in this approach, I recommend looking into tools like Payara Micro or Tomcat Maven Plugin, depending on your preference. They offer great solutions for embedding the server within your application, making it easier to distribute and run the app without external server dependencies.
      Once again, thank you for your valuable input, and I hope this information helps you and other viewers exploring different options to develop Jakarta EE applications with ease!

    • @Gett37
      @Gett37 ปีที่แล้ว

      @@moumie3246 Thank you for your thoughtful reply and for considering my suggestion. I appreciate your explanation of the traditional deployment approach and its importance in production environments. However, I still believe that demonstrating an embedded server and Maven plugin option could benefit some viewers who prefer a lightweight and simplified setup.
      I understand that it might not be feasible to cover every possible deployment scenario in a single tutorial. Perhaps you could consider creating a follow-up video or blog post that focuses specifically on embedded servers and their advantages? That way, you can provide a more comprehensive learning experience for your audience without overwhelming them with too much information at once.
      Again, thanks for engaging with me and addressing my concern. I look forward to seeing what you come up with next!