GithubHelp home page GithubHelp logo

0xb16d4ddy / debugging-java-webapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from branflake2267/debugging-java-webapp

0.0 0.0 0.0 16 KB

Debugging Java Web App on a Tomcat web server

Java 100.00%

debugging-java-webapp's Introduction

Debugging a Java Web App using Tomcat and Visual Studio Code

Debugging Video Tutorial

Project Configuration

Setting Value
Purpose Debug a Java web app using Tomcat and VS Code
Server Apache Tomcat
Server Language Java
Architecture Maven
IDE Visual Studio Code
License GPL v3
Tutorial [Youtube Tutorial](https://www.youtube.com/watch?v=R9mugpHWr14

Visual Studio Code Extensions

This project uses Java, Tomcat and Maven. Install the Java Extension pack to get the Java features needed. And Install the Tomcat for Java extension too.

  1. Install Java Extension Pack
  2. Install Tomcat for Java

Apache Tomcat

Download the Apache Tomcat binaries and save them into a memorable directory.

  1. Dial up Apache Tomcat latest Downloads. Select the latest version to download.
  2. Find and download the latest Core Zip.
  3. Unzip the server into your memorable directory. I put it in ~/servers/tomcat/apache-tomcat-x.x.xx.
  4. In VS Code, file explorer, at the bottom under Tomcat Servers, add the server by and point to the ~/servers/tomcat/apache-tomcat-x.x.xx directory.

Init Reference

Generate a Web App

I created a Maven architecture web app project. It's much easier to manage the dependencies and build instructions for the IDE and CI systems with something like Maven.

  1. Run this to generate a maven web app project.
mvn org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate -DarchetypeArtifactId="maven-archetype-webapp" -DarchetypeGroupId="org.apache.maven.archetypes" -DarchetypeVersion="1.4"
  1. Add the default Java source directory ./src/main/java
  2. Add the initial package directory. For example com.brandondonnelson would become ./src/main/java/com/brandondonnelson

debugging-java-webapp's People

Contributors

branflake2267 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.