Skip to main content
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 ...
Erik Eidt's user avatar
  • 34.3k
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 ...
Antoine Sabot-Durand's user avatar
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 ...
Stanislav Bashkyrtsev's user avatar
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 ...
amon's user avatar
  • 135k
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 ...
bdsl's user avatar
  • 3,884

Only top scored, non community-wiki answers of a minimum length are eligible