Git Product home page Git Product logo

manningsecurejavaapplications's Introduction

ManningSecureJavaApplications

Developing Secure Java Applications for Manning liveProject

Java version

The program was developed on Java version 1.8, so you should download the latest JRE (and JDK if you want to build) to make sure you can work with the program in Eclipse.

Application server

The program was developed and tested with Apache Tomcat 8.5. If you plan on deploying and testing the (app not required for the project), make sure you have the latest version of Tomcat 8.5. The webapp was tested with a default Apache Tomcat and can simply be deployed by copying the WAR/SecureCoding.war file to the webapps directory under the Tomcat directory.

Folder structure is as follows:

  • lib - additional libraries needed to build webapp
  • src - source code
  • WAR - compiled .war file to deploy to Tomcat or for scanning
  • WebContent - webapp (.war) file content
  • .classpath - Eclipse classpath
  • .project - Eclipse project file
  • .settings - Eclipse settings folder

Help with Eclipse

Many Integrated Development Environment (IDE) tools are available for coding in Java, so pick the one you have used before. For this project, we use Eclipse. A resource link is provided below if you are interested in learning the basic workflow of how to use Eclipse. You will need the Java EE version of Eclipse to open the project. Import the project into Eclipse. If the project complains about the JRE library, you can following these steps to fix the issue:

  • Right-click the lab and choose properties
  • Go to Java Build Path
  • Click the Libraries tab
  • Click add Library
  • Choose JRE System Library
  • Select Workspace default

For further reading

These are resources not referenced in the liveProject but may be helpful to further your understanding of the liveProject's content.

manningsecurejavaapplications's People

Contributors

philaphobia avatar vksvicky avatar

Watchers

 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.