Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming 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
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Which technology to use ?

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

I've seen a video about a product named Rally, and I would like to know, which technology can I use in order to develop such an application in Java, or other languages.

I guess using AJAX will suffice, but I don't really know.

The link to the video is here: https://rally1-wiki.rallydev.com/display/rlydmos/Your+First+5+Minutes+in+Rally

I'm interested in your thoughts.

Thanks to your attention,
Sergio.
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That looks like a DB-backed web app; are you asking about which APIs or libraries you can use to develop such an application? Or is there some specific aspect of it that you're interested in (I'm guessing that's what the "AJAX" reference in your post may be about)?
 
Sergio Marcello
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:are you asking about which APIs or libraries you can use to develop such an application? Or is there some specific aspect of it that you're interested in (I'm guessing that's what the "AJAX" reference in your post may be about)?



Thanks Ulf for your answer.

I'm interested on which API I can use to accomplish such a task with, for example, Java. But a simple question would be also, which technology may I use in order to develop such an application quickly and effectively.

I mean, what would you use to reach that goal ? AJAX ? Or thirdy party API + Java ?

Since I'm relative new to web application, I'm looking for something to learn, that I can effectively apply to the 'real' world.

I would be happy to use Java, but this is not a constraint. Is, for example, ASP.NET and the WPF/WCF Microsoft wagon also good for that, or should I steer away from it, since cross platform is a project requirement ?

Sergio.
 
Ulf Dittmer
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java web apps are based on servlets and JSP, but nowadays there are lots of libraries that build on top of those, like JSTL, Struts, Stripes, Wicket - there are any number of ways to build a Java web app. And there are any number of ways to connect a web app to a DB - JDBC, JPA, Hibernate, EJB, ... AJAX is just a very small part of it that described how some of the web pages interact with the server.

So, yes, Java can do all that, as can .Net and just about any other web technology (like Ruby-on-Rails and PHP, although I wouldn't recommend to build such a complex application purely in PHP). .Net isn't very attractive on non-Windows servers, so if cross-platform compatibility for the server is a requirement, I'd stay away from that.
 
Sergio Marcello
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, so let's nail down the requirements.

I need dynamic pages, in such a way, that the web application user can change, for instance, the fields that have to be showed on the page. The application should then remember the settings for each user.

The user may also add fields to be shown on a page; he/she can choose from a pre-built list of fields.

Which API should I use in order to speed up the development ? "Pure" Java (JSP and Servlet), or some thirdy party APIs that are based on the top of them ?

Sergio.



 
Ulf Dittmer
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you describe can be done with any of the web frameworks, or without one. Which option will lead to completion first is hard to say, since the time you save by using a framework has to be weighed against the time it takes to learn it. Same for the DB framework (and any other library that could be used).

Is "Implement what is shown in the video as fast as possible" really the only requirement you have?
 
Sergio Marcello
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Is "Implement what is shown in the video as fast as possible" really the only requirement you have?



Not really. Most important for me, is the learning curve of the web framework, that has to be easy as possible.

So, as far as I understand, there are web Frameworks which can be used with (or without) Java. Are there the ones you posted before ?

And what for a comfortable rich user interfaces to offer to the users, with windows-like controls such combos, datagrid and the like ? Would Java Swing suffice, or should I better look for thirdy party web components ?

Sergio.



 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swing? Are you writing a web app, or a desktop app?!
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you targeting Java for this? It doesn't sound like you're that up-to-speed on the options available or the technology stacks involved: re-writing Rally, then, would be a pretty tall order, if you wanted to do it well.
 
Sergio Marcello
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

David Newton wrote:Why are you targeting Java for this? It doesn't sound like you're that up-to-speed on the options available or the technology stacks involved: re-writing Rally, then, would be a pretty tall order, if you wanted to do it well.



I want to develop a web application. I'm targeting Java because of its cross platform capability, and because I can develop with it. But any other framework would suits my needs, if the learning curve is not too sharp.

The question is, which web framework to use ?

Sergio.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no way of answering that: any of them would work, all of them have their advantages and disadvantages, they all have their own philosophy (or a sub-type of a general philosophy). If your concern is front-end implementation (the user interface) then you'd be better off focusing on the JavaScript/GUI--anything can back it.

Swing is essentially only a desktop app framework.

But asking "which framework should I use" will get you any number of answers, generally more than the number of people that answer. Which is best for *you* depends on you.
 
Sergio Marcello
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

David Newton wrote:But asking "which framework should I use" will get you any number of answers, generally more than the number of people that answer. Which is best for *you* depends on you.


You're definately right here. But in order to decide which framework to use, I need also the experience from other users.

So let's reformulate the question: which web framework would you use, in order to accomplish the task above described ? And which UI framework to use, since Swing is only for desktop application, as David pointed out.

Sergio.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd use Struts 2, Hibernate (probably), Spring (possibly Spring MVC), and jQuery, if I were going the Java route.

Grails, Groovy, and jQuery, if going the Groovy route.

Rails, and jQuery, if going the Ruby/JRuby route.

Compojure, Clojure, and jQuery, if going to Clojure route.

I would probably not consider anything else, but that's just me :)
 
Sergio Marcello
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you David, that helps a lot to narrow the choice. I'll evaluate each of them, and look for pros and cons.

Sergio.
 
get schwifty. tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!