This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin Cookbook and have Ken Kousen on-line!
See this thread for details.
Win a copy of Kotlin Cookbook this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

Angular or JSF?

 
Ranch Hand
Posts: 32
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello;

For Enterprise project (big applications for telecom operators) which has menus, forms, google map, database (oracle and sql) and APIs:

Can Angular do the work or still we need to use JSF (or Spring MVC)?

We are still looking for JSF and Spring MVC as the framework for large applications and big industries, but I am reading that angular is new and covering this areas. How much that possible?

Appreciate the kindly help and advise.
Regards
Bilal
 
Saloon Keeper
Posts: 21474
144
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know that Angular still qualifies as "new". It has been around a few years now.

What I would worry more about is security and scalability. Systems built on interpreted languages (JavaScript, Python, Ruby and so forth) have not had a good record for either security or scalability.  They may make coders look more productive, but their cost is in the long term. Actually, it doesn't seem to matter all that much about cost and time as far as languages go, just whether you want to pay up front or when things blow up later. Java has very high up-front costs, but it has a proven record of scalability, and - disregarding applets, which are a dead issue - Java is about the most secure platform around, since security was designed in from the beginning.

I have not seen any stats about JSF in high-usage environments, although I'd like to. JSF seems to have more overhead as a cost of all the work it does, but that may be just my perception. Struts and Spring MVC I think probably have lower overhead, but they're not as friendly when it comes to data validation and code simplicity. One good thing, however is that JSF, Struts and Spring are all "co-operative" frameworks in that if a JSF page proves to be too slow, you can always replace it with one in Spring MVC or Struts. Or the opposite. Some frameworks are all-or-nothing, but not these.
 
Bilal Ghayad
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Tim.

As GUI and ability to do good interface (dashboard and dynamic things): Will it be better to use JSF or Spring MVC or Angular?

Regards
Bilal
 
Tim Holloway
Saloon Keeper
Posts: 21474
144
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I prefer JSF for forms-based web pages, since it operates on POJOs, automatically transfers data to/from the page view, and automatically handles validation. But I'm biased. I've moderated the JSF forum for a long time.

Angular is not something I'm very familiar with. My primary JavaScript service platform is nodejs.
 
Bilal Ghayad
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case we are using Maven, Hibernate and Spring, so still you advise to use JSF?

Regards
Bilal
 
Tim Holloway
Saloon Keeper
Posts: 21474
144
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bilal Ghayad wrote:In case we are using Maven, Hibernate and Spring, so still you advise to use JSF?

Regards
Bilal



It's what I do.
 
Bilal Ghayad
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more point:

Talking about the good looking web application, JSF is giving more beautiful components than Spring MVC?

Regards
Bilal
 
Tim Holloway
Saloon Keeper
Posts: 21474
144
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if Spring MVC even provides web components. I've only worked with it as a page presentation medium. JSF has basic HTML core components, plus there are a number of third parties that provide extended components.
 
Ranch Hand
Posts: 429
2
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's about separation of concerns.

A lot  applications these days are service oriented.
Especially in large enterprise apps.

You'll have a back  end application that serves the data up and a front end application that consumes it.
This means you can have multiple front ends that use the same back end application . A phone app, an angular web app, and a JSF app can all make the same REST call calls and see the same data without tying your data and business logic to  that app (the View Level). The back end just serves up data in JSON or XML format and the front end parses it and displays it in whatever way you want .

What I'm saying is worry less about the particular technology and focus more on what you are actually trying to do business wise.
There will always be a flavor of the day technology  that changes every couple years . Business models change a lot less often . Design for the business model .   You can change your front end app without significantly affecting the back end if you design it right.

When the company president says : "I don't like the way this looks",you only have to do half the work.

-Paul
 
Opportunity is missed by most people because it is dressed in overalls and looks like work - Edison. Tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!