Johnny O'Boylan

Greenhorn
+ Follow
since Feb 07, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Johnny O'Boylan

I know JUnit is great for testing accessors and mutator methods for a given class; the question I have is: Is JUnit a good tool for testing interclass communication or tesing the results of how a set of classes? Or is there another tool for functional testing?
Also - what about testing against a database?
I suppose I don't know the boundaries or full capabilities /practicality of JUnit. Any suggestions or reading materuial to point me too?
20 years ago
Don't forget the recent misuse of the release method when writing tags! Struts had to be rewqritten to accomodate "Tag Pooling" - do your cleanup manually! READ THE SPECIFICTION regarding the release method - It is garaunteed to be called only once - AND - multiple calls to doStartTag() may occur in between invocations of the release() method.
21 years ago
JUnit is a good question! However, I was wondering about Log4j versus the new built-in logging capabilities of Java 1.4??? Does anyone have any pros/cons for Logging in Frameworks such as Struts?
21 years ago
I have written a tag and it seems that Tomcat 4.1 pools tag librarys, whereas Tomcat 4.0, creates a new instance every time.
  • Shouldn't the release() method of the tag be automatically called before subsequent requests?
  • Why does the release method only get called before the container recompiles the JSP (where the tag is requested)?

  • Can someone please tell me why this happens ( in 2.3 and/or 2.2 spec)?
    21 years ago
    JSP
    TOMCAT SSL
    Give it a shot - Let me know how you make out! Rate its ease on a scale of 1 to 10.
    Good Luck!
    21 years ago
    Hello,
    I am Looking to find a Basic MVC Front Controller example to be used as a learning tool. Can anyone point me in the right direction?
    Thank you in advance!
    Model 2 is MVC - Model-View-Controller
  • 1Model View Controller (MVC)
  • 2Understanding JavaServer Pages Model 2 architecture


  • Model 1 is NOT Model 2 - everything is kinda on 1 JSP (connection - view - logic - etc)
    [ September 13, 2002: Message edited by: John Boyce ]
    21 years ago
    JSP
    Hi Simon,
    I think I could benefit from this book. I am involved heavily with tagslibs right now. Good to see you in the JavaRanch!
    [ September 13, 2002: Message edited by: John Boyce ]
    21 years ago
    JSP
    Thanks - I was more or less concerned about subscriptions, priveleged areas ( for subscribed users - they get to see the most current content), sessions, personals, classified responses, via a front controller type setup. Also the experience I would gain is also a factor.

    Typically Model 2 suits web applications with a lot of dialog between the users and the system.
    ....
    Do you envisage much more by way of interactive pages? Have I misunderstood your project ?[/QB]


    Answer: Probably not my project, but my goals were not clear. Thanks
    21 years ago
    JSP
    Hello JSP people,
    I may have the opportunity to code an Online Newspaper - articles, ads, authors, etc. I have done something similar using Model 1 PHP, this time, I'd like to use Model 2 with JSP. Anyone know of a good place to start, or point me to a template of some sort?
    Thanks You in advance!
    21 years ago
    JSP
    How do I go about creating and displaying a predetermined number of records from a query, and providing the data necessary for a
    Prev | 1 | 2 | 3 | 4 |Next
    type of control. I am usure as to the most effective or efficient way to do this.
    Thanks for your Help! The Ranch Rocks!
    21 years ago
    JSP
    Jython looks promising.
    22 years ago
    Even without the book giveaway, this is the best java site on the web for people looking for java information. I was selected to receive the J2ME book a few weeks ago and I have. Thanks Java Ranch. The GiveAway is truly a great benefit.
    Yes Mark,
    But ... I will choose a path that's clear .. I will choose freewill!