Joan Horta Tosas

Ranch Hand
+ Follow
since Feb 01, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Joan Horta Tosas

Hi again,

Yes, that's what I was looking for. Thanks again!
Hi, Emmanuel.

Reading the books' topics I saw nothing about using Hibernate with JPA in a JEE5 application. Is this topic covered in the book?

Thanks in advance for your response,

Joan
Good morning,

I'd like to ask the author of the book a few questions about it.
  • What most surprised me is that the book is written based on Struts 2.1, which is in beta phase. Does that mean that there can be minimal changes that can make the book's code not to be "fully" functional?
  • What are the example result types showed in the book?
  • What's the coverage of Struts 2 with AJAX? Does it include JSON?


  • Well, I think that's it. Thanks in advance for your reply.
    16 years ago
    Thanks for your reply. I'll talk with my boss today in order to buy a copy of your book, 'cause I find interesting having practical examples of a feature we're needing.
    We're using DWR 2 in projects developed in our company and as long as we're not having many browser clients due to being in a closed environment, we're interested in using the Comet technology for reverse AJAX.
    Is there any chapter with working examples about it in your book? In the excerpt says that readers will learn Comet capabilities of DWR 2, but I would like to know how "deep" are these knowledges. Thanks!
    Ok, thanks for your responses.
    17 years ago
    I saw the TOC before posting, and I saw the servlets testing, but didn't know if that included the things I asked, which were not strictly related to JEE, but to HTML (compatibility tests with different browsers), Javascript and AJAX generated by this servlets and JSPs...
    17 years ago
    Hi Cedric and Hani.

    My questions are about what parts of testing webapps does cover your book. Does it cover JSPs, HTML compatibility between browsers, Javascript and/or AJAX? Thanks.

    Joan Horta
    17 years ago
    Because f1 and f2 are two different objects. You have to use equals(). But note that using equals() would give false as well, due to IEEE 754 floating-point "single format" bit layout, as it says in Float.equals() there are two exceptions on having the same result on comparing two float objects and two float values:

    � If f1 and f2 both represent Float.NaN, then the equals method returns true, even though Float.NaN==Float.NaN has the value false.
    � If f1 represents +0.0f while f2 represents -0.0f, or vice versa, the equal test has the value false, even though 0.0f==-0.0f has the value true.


    [ November 03, 2007: Message edited by: Joan Horta Tosas ]
    If you have posted your exactly as it is, there's no declaration of the "options" variable.
    17 years ago
    JSP
    You have defined loggers in the file for ClassA and ClassB, not for Application.
    17 years ago
    JSP
    Please post the entire custom tag code. I hope you're not trying to access the JspContext in the constructor if you're extending SimpleTagSupport...
    17 years ago
    JSP
    That's because the Java classes for the Date used by the session where loaded before the change. Java classes are not hot redeployable, just some application/web servers do redeploys and only in some especific dirs.
    17 years ago
    As it says in the API doc, this method appeared in Servlet API 2.3, which is covered on J2EE 1.3. Are you using an updated servlet-api.jar and servlet.jar (for example, from Tomcat 4.1 or 5.x or 6.x)? If you're developing using an IDE, look for the target J2EE, maybe it's configured by default to 1.2 or 1.1...
    17 years ago
    I'm not sure, but I think it's to allow the container to persist their state and "suspend/resume" them according to their use, pooling, etc... I can't think of another reason.
    17 years ago