Avatar billede fredand Forsker
24. november 2021 - 15:10 Der er 3 kommentarer

What frameworks are available for these two situations?

Hello guys,

A product owner that I know is standing in front of a decision.
He is now managing an old system with a JEE backend and a rich client in Swing.
The Swing client needs to be replaced and he told me that he need to decide if the client GUI interface should be based upon serverside produced HTML5 or a Javascript Client.

What frameworks would you choose among if you would go for either way?

Best regards
Fredrik
Avatar billede arne_v Ekspert
24. november 2021 - 15:24 #1
For the model:

HTML+CSS+JS----(web services calls)----Java backend

the relevant standard is JAX-RS. There are multiple implementations. Any Java application server should already come with one. If you want to get it manually look for Jersey and RESTEasy.
Avatar billede arne_v Ekspert
24. november 2021 - 15:27 #2
For server generated content you need to decide whether you like the component approach or the MVC approach.

If you like the component approach then the choice is JSF. Again multiple implementations including Mojarra and Apache MyFaces.

If you like the MVC approach, then they are working on a standard but until that arrive then Spring MVC may be a reasonable choice.
Avatar billede arne_v Ekspert
24. november 2021 - 15:40 #3
Note that popularity today is:

1) HTML+CSS+JS doing web services calls
2) MVC
3) Component

I happen to like JSF but it is not in fashion. And it is pretty complicated.
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester