Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Java Website Development Frameworks!
Index -> Java
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
rizzix




PostPosted: Sun Apr 03, 2005 8:25 pm   Post subject: Java Website Development Frameworks!

Very much influenced by the Ruby on Rails project, is the Java Trails!

Works well with J2EE Wink. It's rather in its early stages, but you can check it out in action, in the following video:

https://trails.dev.java.net/files/documents/2296/13104/trails_withnarration.mov (narrated)
https://trails.dev.java.net/files/documents/2296/13107/trails_nonarration.mov (not narrated)

--
Great news for the java developer. specially me. since recently i've been doing a bit of study in the J2EE side of java, specially web-service and web appliaction development.

You might have noticed its not "soo simple" as Ruby on Rails (but it isin't all that hard either, actually very close in simplicity). The idea of Java was never simplicity, it was effeciency, extensibility and largly maintainance. This project is totally awesome!
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Sun Apr 03, 2005 8:42 pm   Post subject: (No subject)

The only problem is that with so much invested in existing J2EE stuff, I doubt Trails will catch on, which could very well mean a lack of developer actvity keeping it up to date. On the other hand, Rails is hugely popular in the Ruby world.

If it catches on, hopefully it'll get Java programmers to look at Ruby. Smile
rizzix




PostPosted: Sun Apr 03, 2005 8:44 pm   Post subject: (No subject)

Oh its going to catch on allright... Its quite talked about in the java.net community.

The problem with Ruby on Rails is that its not extensible. The framework seems too rigid.
wtd




PostPosted: Sun Apr 03, 2005 8:53 pm   Post subject: (No subject)

rizzix wrote:
Oh its going to catch on allright... Its quite talked about in the java.net community.

The problem with Ruby on Rails is that its not extensible. The framework seems too rigid.


Ummm... you're kidding, right?
rizzix




PostPosted: Tue May 31, 2005 3:15 pm   Post subject: (No subject)

oh look another one: http://ravenous.solidosystems.com/

The difference between this one and Java on Trails.. is that this one emphasizes on simplicity.
wtd




PostPosted: Tue May 31, 2005 4:33 pm   Post subject: (No subject)

Simplicity? The database interaction code is far more ponderous than anything I've seen with Rails.
rizzix




PostPosted: Tue May 31, 2005 7:19 pm   Post subject: (No subject)

ignore those SQL snippets on the website... they do not take advantage of java's SQL placeholder stratergy... instead he creates the SQL statement using string concatenation... which is very very ugly.
rizzix




PostPosted: Sat Aug 13, 2005 10:12 am   Post subject: (No subject)

Some new ones i've discovered.. These are a little different. They are not exactly like trails or ravenous, although they share some similarities. They are more of a "Page Oriented Framework"..

Wicket is basically a page oriented, MVC, web development framework. It's pretty simple, hence I'm posting here.. Wink

An even simpler one is Click!. This is the in I'm currently using. IMO it's the easiest of the lot! Got to love it! Very Happy


Note: Wicket is like a derivation of Apache Tapestry, but it uses a much simplified notation.
rizzix




PostPosted: Thu Sep 08, 2005 8:31 am   Post subject: (No subject)

Oh look another one: Stripes.. it's an improvement over Apache Struts (similar to Spring) but simplifies everything... I like the way the J2EE world is now focusing on simplicity..
wtd




PostPosted: Thu Sep 08, 2005 11:08 am   Post subject: (No subject)

I still see lots of Java cruft, like using annotations to denote information that can be garnered from the name of the method. Smile

Java:
@DefaultHandler
@HandlesEvent("SaveOrUpdate")
public Resolution saveOrUpdate() {


What if I change the name of the "SaveOrUpdate" event? Then I have to change it in two places. Human beings, even myself, are not above making mistakes. The more code write, the more prone we are to screwing things up. Wink

Also, I see that the language used to create the template is entirely different from the language used to implement the logic. I never much liked template languages that try to look like HTML, when they certainly aren't.
rizzix




PostPosted: Thu Sep 08, 2005 1:15 pm   Post subject: (No subject)

those annotations totally make sense.. if ur rather have the method name denote the name of the handler.. then use Click!... Click also does not have any HTML like language for rendering the View..

eitherway JSP (the template language ur refering to..) does not aim to look specifically like HTML.. but just another markup language... so that your WYSIWYG editors can handle/ignore the syntax when designers create the view
wtd




PostPosted: Thu Sep 08, 2005 2:06 pm   Post subject: (No subject)

Click! still looks like it's introducing yet another language and runtime environment to the mix.

Java:
addModel("time", new Date());


Plus, you have to have an XML configuration file to actually tell it things it should be able to figure out on its own.
rizzix




PostPosted: Thu Sep 08, 2005 2:28 pm   Post subject: (No subject)

not really... the xml config file can be setup to automatically config things out..'

and i totally don't see how it's introducing a new language... sheesh.
wtd




PostPosted: Thu Sep 08, 2005 2:35 pm   Post subject: (No subject)

Well, you're not accessing a variable created normally within the controller. You're accessing a key in some kind of dictionary object that automagically is exposed to the template engine.

That's what I mean by creating a new language and runtime.
rizzix




PostPosted: Thu Sep 08, 2005 2:44 pm   Post subject: (No subject)

...or more like ur accessing the model "time" from the view... passed by the controller...

soo naming ur models is introducing somthing new... great perspective! Wink
Display posts from previous:   
   Index -> Java
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 20 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: