At 13:34 24.5.2000 -0700, you wrote:
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Juha Lindfors
>> Sent: Wednesday, May 24, 2000 2:08 PM
>> To: jBoss Developer
>> Subject: RE: [jBoss-Dev] EJX GUI: jboss.xml AND ejb-jar.xml?
>>
>> Sooo... we have:
>>
>> the model, our beloved XML files
>> the view, our kick ass Swing dynamic tab sheet tree thingy
>> the control, which is da script language/the gui controls (combined
>> view+control)
>>
>
>almost the model (= logic in my mind) is the live ejb.ejx objects the file
>is merely a persistent representation of the data these objects need.
you know, I think you're right ;)
so, since we have scripting languages (free, not sure GPL) that integrate
with java real well (you can instantiate classes, call methods in them
directly... all that stuff you described in the prev post) we would have to
figure out how to get the scripting and the gui stuff play together nicely.
Will a simple observer do here?
Change in GUI --> Change in EJB object --> Change in the persistence model
(XML)
and
Run script --> change in EJB object --> Change in the persistence model
|
+-------------> Change in GUI
observes
Would that work? In this case having scripting would not affect what type
of GUI is built or how extensively the same tasks can be achieved via GUI
that can be achieved via scripting. Scripting would be a bonus. Or to some
people the GUI would be the bonus.
-- Juha