André Campanini

Greenhorn
+ Follow
since Jun 20, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
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 André Campanini

Welcome! All the best!

I hope to find the answers to some of the toughest Java multi threading questions.

Regards!
To the authors:

Which big company or community is already using Camel in theirs applications? Are there some use cases to tell us?

Thanks!

-Andre Campanini - from Sao Paulo/Brazil
What do you think about the open-source SOA solutions by IONA (Apache with Progress Software)?

Like:
  • FUSE ESB - based on the Apache ServiceMix - JBI specification (JSR 208)
  • FUSE Message Broker - based on Apache ActiveMQ
  • FUSE Services Framework - based on Apache CXF. (plus: JAX-WS, JavaScript, REST, POJOs)
  • FUSE Mediation Router - based on Apache Camel
  • FUSE Integration Designer - based on Eclipse


  • Another question: does your book contain any of these solutions?
    14 years ago
    OSGi and Spring - These techniques / tools have something to do with the old META-INF and MANIFEST.MF?
    In "Linux world, there were options before JavaFX? If not, this is good or bad?
    14 years ago
    I think AJAX will dominate de world (wide web).

    Is there some information about JBoss Rich Faces mentioned in the book? This tool is making me so happy so I hope it get more new resources, even in server side (if possible).
    15 years ago
    Hi, everybody.

    I want to repeat this code in my page for any page I have:

    <h:commandLink action="#{cliente.selectNumberPage}" value="1">
    <f:param name="jsfcrud.chosenPage" value="0"/>
    </h:commandLink> 

    For example, for a list with 3 pages, it would be:

    <h:commandLink action="#{cliente.selectNumberPage}" value="1">
    <f:param name="jsfcrud.chosenPage" value="1"/>
    </h:commandLink> 
    <h:commandLink action="#{cliente.selectNumberPage}" value="2">
    <f:param name="jsfcrud.chosenPage" value="2"/>
    </h:commandLink> 
    <h:commandLink action="#{cliente.selectNumberPage}" value="3">
    <f:param name="jsfcrud.chosenPage" value="3"/>
    </h:commandLink> 

    I've tried with "c:forEach", but JSF doesn't recognize the variable when it's "loading" the page.

    Does everybody knows a way to do that in a good practice way?
    15 years ago
    JSF
    Hi...

    I'm sorry for "revive" this topic... but I'd like to know a example of using Jasper Reports and JSF in that way cited?

    I'm having a lot of errors using "context.getExternalContext().dispatch(..." in a Managed Bean filter that call a report.

    Best regards!
    15 years ago
    JSF
    Hi.

    I'm with the same doubt.

    How implement the calling between step 1 and 2. By calling a servlet?
    Thanks a lot for the tips! It will help me a lot besides clean my code!
    15 years ago
    The method HAS a body, I just didn't put it here this way in the example.
    15 years ago
    Hello!

    I got what I wanted doing this:

    regex = "(?m)void myMethod\\(\\)\r\n\\{\r\n\\}"
    String newFileContent = fileContent.replaceAll(regex, "/*"+regex+"*/");

    It replaces every method with coments... just what I wanted. I don't know if it is just right using regex this way... but is working, now...

    Regards!!!
    15 years ago
    Hi... I'm using JSF h:commandLink and I want something that I think won't work this way.

    I wanted to use f:param inside the h:commandLink to pass parameters by using a "rendered" property to the backing bean.

    Here is the code:

    h:commandLink rendered=UserMB.permission value="Menu Customers"
    f:param name="functionalityParam" value="customerList"
    h:commandLink

    It seems the parameter is "loaded" in the Map only at Action time, and don't at "rendered processing" time.

    Is it impossible to get what I want?

    Best regards, saloon!
    15 years ago
    JSF
    Hi, again.

    I found a topic in this forum and I tested the code, but I think I don't know how to use some methods very well, like "replace all". Topic is: https://coderanch.com/t/411621/java/java/Pattern-matches-but-never-replaces

    Using that code, when I look for "void myMethod(){}" works well, but if I change the text to multiple lines, it doesn't work.

    "
    void myMethod()
    {
    }
    "

    I'm posting the code that I tested.

    15 years ago
    Hello!

    Does anyone knows how can I do a "search and replace" using REGEX, but I want to match several lines.

    For example, I want to open a TXT file and find:



    and replace it for:



    Like "put" a comment on it.

    Thanks!
    15 years ago