Settings

Theme

Built a fouondation in Java, now what?

1 points by yairharel 17 years ago · 5 comments · 1 min read


We built the foundation of our system in Java using Spring and Hibernate and exposing a nice service layer. We used a little bit of Struts for the early front end, but have only developed the tip of the front-end iceberg so far. Now we are at a fork in the road and would love to get your feedback. When developing the front-end (a newspaper-like consumer site) should we: 1) Building it using Struts 2) Develop the site in PHP/Python/Ruby and have it talk to the Java service layer through some bridge technology (like http://php-java-bridge.sourceforge.net) 3) Dump what we've written so far and start from scratch (obviously a difficult one to choose)

Any thoughts?

Thanks, Jay.

nostrademons 17 years ago

#2. In my experience, Java frontend development (particularly with Struts) is so painful that you'll almost always be better off with Django or Rails talking to a backend via some RPC technology. This also enforces a strict separation of UI logic from application logic. It'll slow you down at first, but your devs will thank you for that separation when they try to run analyses on the data you've accumulated in the app and have a nice API to work against rather than scraping HTML off the webserver. (If they're any good, they'll probably thank you for not having to work with Java web frameworks, too. ;-))

floodfx 17 years ago

Check out JRuby (http://jruby.org/) You can write a RoR front end and pull in/execute Java code (in Ruby's sugary syntax). No need for any crazy bridges...

icey 17 years ago

Just wondering, anyone using Django on Jython?

  • bokonist 17 years ago

    I tried it about 8 months ago. It definitely was not production ready. There are some memory leak issues, plus there is no good way to actually embed it as a servelet.

krishna2 17 years ago

s/fouondation/foundation

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection