Skip to content

rloutier/vscode-j2e-helloworld

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

"Hello World" mini-project for J2EE under VScode

This repo has been forked to serve as the minimum basis to validate that the correct environment is installed on your machine.

This includes all (but is not limited to) the following prerequisites:

  • VScode installed
  • All the Java related VScode-plugins installed
  • JRE/JDK installed on your machine (v17 at least for JAVA LSP to work)
  • Tomcat app server installed
  • Maven installed

Tip

All this can be installed without admin rights, even on Windows.
Just look for "portable install".

Online tuto

Check this youtube.link for the basics on how to install/build/run/debug this mini-project.
"Run and Debug Java Web Application in Tomcat using VS Code" by LearningFromExperience

Few takeways

  • All the "black magic" I've seen done by Eclipse is here a bit less obsfucated : it is maven and its pom.xml file that orchestrates everything. Just take a look if needed !
  • Even an elementary project as this one exhibits some cool features : auto-reloading, debugging, session handling, ...
  • /!\ Beware of the subtleties between .INCLUDE() vs .FORWARD()
  • /!\ Beware of redefining the default Servlet ( / ) : it can be called on surprising cases, espacially when including basic static ressources...

Warning

This is not, in any case, a demonstration of good practices :-)
Keep this in mind, just the absolute bare minimum to get going.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 90.1%
  • HTML 9.9%