The Artima Developer Community
Sponsored Link

Java Buzz Forum
The Java Love

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Brian McCallister

Posts: 1282
Nickname: frums
Registered: Sep, 2003

Brian McCallister is JustaProgrammer who thinks too much.
The Java Love Posted: Aug 22, 2005 7:19 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Brian McCallister.
Original Post: The Java Love
Feed Title: Waste of Time
Feed URL: http://kasparov.skife.org/blog/index.rss
Feed Description: A simple waste of time and weblog experiment
Latest Java Buzz Posts
Latest Java Buzz Posts by Brian McCallister
Latest Posts From Waste of Time

Advertisement

Been talking about the wicked greatness that is Ruby a lot, time to give Java some lovin'. Java offers a few things that you can certainly do in Ruby, but for now are actually a lot easier in Java. Basically Ruby has the general cases for Java's special cases -- sometimes the optimization for the special cases works best. Let's jam to some SOA goodness!

The plan:

  1. ActiveMQ REST Connector with "Message Driven POJOs"
  2. Dojo Toolkit
  3. AspectJ
  4. OJB

Implement distributed Smalltalk style MVC:

  1. Push commands to a queue (using Dojo) as the controller -- queue is listened to by a Dr. Pojo which simply loads appropriate domain objects and operates on them.
  2. Use AspectJ to instrument them appropriate domain objects to post change notifications to appropriate topics using a standardized naming convention (Coarse notification variety, probably, will experiment)
  3. Subscribe to topics to register as change listeners on the model via Dojo and that REST api to ActiveMQ.
  4. Do the heavy lifting in Javascript in the browser -- woot!

Bennies include: Only state live in the app server is for the duration of whatever the command invoked, asynchronously, is operating on. All user-specific state can be stored in memory in the Javascript VM. 3rd party API for arbitrary alternate client is baked in. Problem domain for the application can be modeled solely in terms of the problem domain -- aspects handle any notifications needed. Etc.

Read: The Java Love

Topic: 35a [Flickr] Previous Topic   Next Topic Topic: The popularity of Java and scripting languages

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use