Top.Mail.Ru
February 15th, 2005 - Java developers — LiveJournal
? ?

Java developers

February 15th, 2005

10:37 am - kritof - Newbie needs JAVA HELP!

Hi! I'm very new to Java, and I'm having some trouble running this simple program, which is supposed to test run a stack. Can anyone give me some pointers? I've managed to eliminate most of the errors, and there just seems to be something wrong with the last portion below the words "//Tests all instances of objArrayStack".

Any and all help will be GREATLY appreciated!!!! Thanks in advance!
(Sorry for any x-posting.)

Here is my code...Collapse )

02:31 pm - scriptum - MVC vs. WebLogic, beehive, pollinate, JSF?

I was glancing some descriptions of the above technologies and one thing that surprised me was that after profound talks about MVC pattern all the authors seem to switch to specifying the workflow as a page flow. Litteraly the use cases are described like this (in JSF):

<navigation-rule>
<from-view-id>/pages/inputname.jsp</from-view-id>
<navigation-case>
<from-outcome>sayHello</from-outcome>
<to-view-id>/pages/greeting.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>sayGoodbye</from-outcome>
<to-view-id>/pages/goodbye.jsp</to-view-id>
</navigation-case>
</navigation-rule>


I naively thought that the execution control should be done by the controller, and it is baaad to model it as the links in the presentation layer. Am I wrong, or everybody is blind?
Powered by LiveJournal.com