Replies: 2 comments 5 replies
-
heart attack |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Additional technologies and methods to use
Hi Guys!!
This thread is for general project planning, these are additional technologies and methods that we can/will use. You can read more about each option below and give your opinions about them. Once we decide what we want to do. I'll edit the discussion to show our choices on the checklist so that we are all on the same page on what has been accepted and what has been rejected.
Test files
Using Maven
Documentation verification using javadoc
Github actions
OpenAPI.json
for specificationsFrameworks like
React
,Angular
,Next
etcBootstrap and powerful css tools
Test Files
We can use
JUnit
for unit testing for our application.So for each class we can write tests that will test the functionality of that class, to see if it meets our requirements.
If our code is at
src/main/java
then our tests are atsrc/test/java
with the exact same package structure.Using Maven
Maven is a build automation tool used primarily for Java projects. Maven can also be used to build and manage projects written in C#, Ruby, Scala, and other languages.
How to set up a J2EE application on Eclipse with Maven - check this out
To those who have used
JavaScript
, it's likenpm
Documentation using JavaDoc
Javadoc allows to create machine readable comments which can be checked using java doclint. Read more here.
Javadoc conventions can be decided by us and kept minimal or in-depth depending from the team.
Codacy is a third party application that we can use to do checks on all kinds of code classes with respect to industry standards.
Github actions
Github actions is a serveless CI that is provided by github for free. We can use that to automate processes such as unit testing, building, linting and deployments automatically. It can do cross platform, cross JDK checks as well.
OpenAPI.json
Is the de facto standard for describing REST APIs. Previously called as Swagger.
There are many tutorials and blogs on how to use OpenAPI specifications with J2EE. If setup properly, it can help document our application services a lot better.
Frameworks like
React
,Angular
,Next
We can use something popular like
React
or something more suitable for static web applications likeNext
based on our use case. I have seen instances where J2EE is used withReact
,Angular
but it uses java servelets as a standalone backend API. So we'll have to look into JSP intergrations with frameworks likeReact
,Angular
,Next
Bootstrap and powerful css tools
There are a lot of CSS based tools to help make better UI/UX. Some would include Bootstrap, Bootswatch, Tailwind.css etc
Beta Was this translation helpful? Give feedback.
All reactions