4
votes
Accepted
Pass Objects or values as parameters to functions
But are there any software quality advantages from one to the other?
Programming is complex and so we try to do things that make it more manageable and maintainable.
One tool we have for that is ...
3
votes
CMT transactions on EJB versus @Transactional on CDI beans
CDI should be your default programming model and stacking EJB beneath it should be done only if required because it's costly.
So the rule is: don't use EJB if it doesn't bring feature you don't have ...
1
vote
In which scenarios is server-side rendering is better choice than the front-end JS libraries like React, Vue, Angular etc.?
History
In older days all web pages were generated on server. There were several tools for this in Java: JSP/JSTL, Velocity, FreeMarker for page generation; SiteMesh and others to generate common ...
1
vote
concept for de- and encrypting personal data in web portal
Having a database store encrypted contents and end-to-end encryption are quite frequently NOT feasible approaches. The problem is who has access to the plaintext contents. E.g. for a web app:
The ...
1
vote
Accepted
Should I separate the REST sessions from the sessions in the rest of the application?
Keep it separate, or at least don't trust an agent over REST purely based on their holding a cookie.
Allowing a login cookie granted via the web UI to grant access to non-safe http methods in the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
jsf × 23java × 11
java-ee × 4
design × 2
design-patterns × 2
architecture × 2
web-development × 2
spring × 2
database × 1
rest × 1
api × 1
mvc × 1
security × 1
microservices × 1
refactoring × 1
code-quality × 1
node.js × 1
authentication × 1
http × 1
frameworks × 1
css × 1
web × 1
angularjs × 1
front-end × 1
internationalization × 1