Questions tagged [jsf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
3 answers
340 views

In which scenarios is server-side rendering is better choice than the front-end JS libraries like React, Vue, Angular etc.?

As a Java developer, I just have scratched the surface of Javascript libraries like React, Angular, Vue etc. It seems that theoretically any web applications with server side rendering, like Spring-...
user avatar
  • 1,467
1 vote
1 answer
73 views

concept for de- and encrypting personal data in web portal

Issue: I provide a small web portal for customers with partial personal data like name, address etc. which is stored in the database in plain text. Now I need a safe concept to encrypt the personal ...
user avatar
1 vote
0 answers
83 views

Java dashboard for machine data

I am currently working on a project for a production facility. The machines in the production are saving so called 'Telemetry Data', measurements like water pressure, plastic volume or temperature ...
user avatar
  • 119
1 vote
1 answer
66 views

Should I separate the REST sessions from the sessions in the rest of the application?

Assuming I have resources I restrict access to with a username + password login in my web application and in my REST API. Should I keep different sessions for both meaning that a login via the web UI ...
user avatar
-4 votes
2 answers
4k views

What is best one between JSF and angular for java hibernate,spring,strut application?

I want to develop application using java frameworks(spring,hibernate,strut). This application has large complex operations.I want to know what is the best between JSF and angular? As well as i want ...
user avatar
2 votes
1 answer
150 views

Pass Objects or values as parameters to functions

I'm working with JEE standard. I have the following layers: JPA (Eclipse Link), Data Access, Business Logic, and JSF (Primefaces). Primefaces uses MVC design pattern, so the the presentation layer ...
user avatar
  • 349
1 vote
1 answer
3k views

CMT transactions on EJB versus @Transactional on CDI beans

Suppose you are designing today a JavaEE JSF web application. You have a choice on the one hand between making the methods of your CDI beans @Transactional, and on the other hand injecting (session ...
user avatar
  • 414
0 votes
1 answer
129 views

Divide java web app into smaller web app

I've a web application that consists of 3 main technologies: JSF, jax-rs and websocket. All three are coupled together with the help of CDI injection and JPA. That means that when a user login, he ...
user avatar
  • 103
3 votes
2 answers
558 views

Configuring a microservice landscape, should the view be monolithic or be attached to core services?

I'm migrating my monolithic web application to a microservice based one. I'm going to use Spring cloud and I've got a discovery service where all the rest of the services are registered. A simplified ...
user avatar
  • 353
0 votes
2 answers
3k views

Selenium Testing w/ dynamically generated element id's: XPATH or CSS selectors?

Background: I'm an intern tasked with learning Selenium; my organization plans on having QA/Testing use it to simplify testing. We use JSF and WebSphere Application Server. One of the persistent ...
user avatar
0 votes
2 answers
231 views

Why i must validate attributes at JSF page?

I want to know the best pratice, to validate the attributes on jsf project. I know two forms of validation: Option 1: Validate on JSF page JSF Page validation: <h:inputText value="#{userBean....
user avatar
5 votes
3 answers
313 views

Mobile Web App - combines with exist web app or separate them

The company I work for already has a fully functional web app that is written in java using JSF framework. I'm now in the process of creating a mobile version of this web app and having some general ...
user avatar
2 votes
1 answer
747 views

Internationalization on a service layer of an application

My specific problem is how to handle internationalization of specific messages from an architecture layer that is not the view layer(e.g service layer). I've created an architecture based on ...
user avatar
0 votes
2 answers
1k views

Classic ASP to Java UI Conversion

My question is based on a business model of a financial services organization that currently is supporting applications that are a hybrid mix of Classic ASP and Java, with some JSP’s already in some ...
user avatar
1 vote
1 answer
937 views

JSF problems due to shared server-side state

On it's latest technology radar, the guys at ThoughtWorks recommended avoiding JSF because it's attempt to create statefulness over HTTP ends up "causing a whole host of problems involving shared ...
user avatar
  • 121
0 votes
1 answer
3k views

Web application using JSF-Front end and node.js-Back end

I'm planning to build a eCommerce web application(similar to http://zovi.com/) using JSF 1.2 and node.js. All front end components will be jsf components binding to backing bean. I want to achieve ...
user avatar
2 votes
2 answers
856 views

Web application (Spring, JSF) forks, how to reuse existing code for subprojects?

my question is going to be somewhat philosophical and "architectural oriented" so bear with me. Right now we have existing Java web application built on top of Spring and JSF(facelets) with maven. ...
user avatar
2 votes
1 answer
326 views

In JSF where do objects like PhaseListeners fit in the MVC pattern?

When it comes to JSF, I've had trouble distinguishing where certain objects I create fit into the overall MVC pattern. The View is simple enough since that's handled by the .xhtml template but when ...
user avatar
  • 143
11 votes
3 answers
27k views

Should a complex EL expression be replaced by a single javabean getter?

In JSF if I have a component that conditionally renders based on a number of variables what is the optimal way to handle the render statement... should the logic live in the component declaration or ...
user avatar
  • 143
1 vote
2 answers
795 views

Record management system java web framework

We're currently reconsidering technologies and frameworks to get more agile with "simple" RMS CRUD-based projects. In short, short-living things like this Right now we have a custom extension on top ...
user avatar
3 votes
1 answer
2k views

JSF best practice for binding UI components to backing bean?

In JSF is it ok to bind UI components to backing bean just to render messages or we should only bind when we need to do lot more than just rendering messages?
user avatar
1 vote
1 answer
1k views

Execute a Managed bean from a JSF view in WEB-INF folder

We are initiating a Spring + Primefaces project and the first problem we have encountered concerns storing the XHTML pages into the WEB-INF folder. When we use a faces form in a view located inside ...
user avatar
0 votes
1 answer
2k views

Why does JSF automatically generate names for html components and can this be overridden?

I'm reading up on JSF. One thing that I noticed is that tags such as h:inputText and h:inputTextarea auto-generate a random name. Is there any way to over-ride this?
user avatar