• Post Reply Bookmark Topic Watch Topic
  • New Topic

Which Java enterprise framework to choose?  RSS feed

 
Umair Zahid
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am starting a project in Java which is a Flight search and booking application. The application will be communicating with external system via an XML api's, sending search requests, getting responses, displaying responses and allowing user to book a flight. It will also be keeping all the activities in db. I have been working with Java for 2 years. I have been working on vaadin framework but due to limitations in vaadin, I do not want to use vaadin, although I have good skills in it. I want to ask to java enterprise experts that which java framework should I use to develop my application? Which framework should be a good choice for this type of application and that should be easy to adopt?
 
Tim Moores
Saloon Keeper
Posts: 4035
94
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends - what should the framework do? The days of frameworks that try to do everything seem over, you're more likely to find a mix of numerous libraries and frameworks for different tasks in a project.
 
Tim Cooke
Marshal
Posts: 4051
239
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing in your description suggests you need any framework at all. You can achieve all of this with Java alone.

Why do you think you need a framework? What are you hoping it will do for you?
 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
Umair Zahid
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to make the project quickly and I need to create good looking UI that can handle all latest technology without doing lot of configurations. Actually I want to adopt a framework that supports and can be integrated with most of the latest technologies, that can handle ajax, can be integrated with hibernate, can handle credit card payments, etc. I am thinking of using Spring framework. I also tried my project with simple JSP but JSP code is mostly mixed in html and I think it will be difficult to maintain in long run. So is Spring a right choice for me?
 
Tapas Chand
Ranch Hand
Posts: 614
9
BSD Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umair Zahid wrote:I want to make the project quickly and I need to create good looking UI that can handle all latest technology without doing lot of configurations.
CSS is responsible for "good looking UI", it is not dependent on any framework.

Umair Zahid wrote:Actually I want to adopt a framework that supports and can be integrated with most of the latest technologies, that can handle ajax, can be integrated with hibernate, can handle credit card payments, etc.
The tasks are handled by different technologies, not by a single one. JQuery for AJAX, Spring is good for integration of Hibernate or any other ORM.
Not sure about payment gateways, I think they have their own APIs to connect to them.

Umair Zahid wrote:I also tried my project with simple JSP but JSP code is mostly mixed in html and I think it will be difficult to maintain in long run.
Are you saying Java code is written in JSP?
If yes, that is obsolete. you should write a JSP without a single line of Java code in it.
 
Tim Moores
Saloon Keeper
Posts: 4035
94
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's nothing wrong with JSPs as long as you keep Java code out of it; it's a maintenance nightmare, like you said. That's what JSTL is for.

No framework I'm familiar with handles CC processing; you'll need to integrate whatever library your payment provider uses.

Spring is huge these days. It's bound to have a bunch of stuff you could use, as well as a bunch of stuff you shouldn't. So you should evaluate which of its parts make sense based on your requirements.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umair Zahid wrote:Actually I want to adopt a framework that supports and can be integrated with most of the latest technologies, that can handle ajax, can be integrated with hibernate, can handle credit card payments, etc. I am thinking of using Spring framework.

Sounds to me like you're already making choices yourself.

Personally, I'd stick to the "what" stuff you had in your first post - flight search, booking application, communication with external system (which one(s)?), displaying responses, credit card payments, keeping activities in a db, etc, etc - and maybe elaborate on them a bit, working out where your app will be interfacing with others (and therefore may not have a choice about "framework") and where you have control.

Once you have a reasonably detailed list of the "what", I suspect we may be able to help you better.

And I say "we", but I suspect I'd be in the same boat as you, not being up on the latest and greatest when it comes to frameworks - but a detailed "what" list would definitely be my first order of business.

HIH

Winston
 
Umair Zahid
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Winston Gutkowski wrote:
Sounds to me like you're already making choices yourself.

Personally, I'd stick to the "what" stuff you had in your first post - flight search, booking application, communication with external system (which one(s)?), displaying responses, credit card payments, keeping activities in a db, etc, etc - and maybe elaborate on them a bit, working out where your app will be interfacing with others (and therefore may not have a choice about "framework") and where you have control.

Once you have a reasonably detailed list of the "what", I suspect we may be able to help you better.

And I say "we", but I suspect I'd be in the same boat as you, not being up on the latest and greatest when it comes to frameworks - but a detailed "what" list would definitely be my first order of business.

HIH

Winston



My application will provide a user interface in which user can select his orgin, destination, departure date and other required information. Application will convert user data into xml request and send to an external system that will return the details of all flights. Then the user will select the flight he likes the most and then the application will book flight by sending xml requests to that external system making payment using credit card or other options provided by the external system. I will be keeping the usage data, request details,etc in db to maintain user profile. Application will be dealing with XML requests and responses.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umair Zahid wrote:My application will provide a user interface...

So it sounds like that's your main concern. Most of the other stuff seems to be governed by dialogues with external systems over which you probably have little control.

I assume you'd like this UI to be web-based.

I will be keeping the usage data, request details,etc in db to maintain user profile.

Sounds reasonable. You might want to find out how much of this data is also retained by the external systems you're dealing with; otherwise you could end up simply duplicating information - and if you do, whose information is "correct"?

Hibernate may well be a good tool for interfacing with your database (I certainly like it); but more than that I can't really say. I suspect Tim and others may be able to though.

Good luck.

Winston
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!