Luciano Assis

Greenhorn
+ Follow
since Apr 30, 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
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Luciano Assis

Hello,

I got a Composite Component with a class anotated with @FacesComponent that has a ActionListener, ValueChangeListener and much more.

My Problem is that in some situations I do need to add a FacesMessage and update my p:messages tag with the new message.

I Tried everything to solve this problem... but the p:messages is not rendering my messages.

Maybe because the Faces Messages is rendered only after the complete JSFLife Cycle and as far i know... JSF Listeners do not obey the normal JSF Life Cycle.

How can I add the message?

Thank's for your help.
11 years ago
JSF
Hi there,

When I am using these fields together my form is posted in blank or something like that. None of my fields are passing throught the validation phase.

Any explanations?

Thank's


EDIT:

Please guys disconsider this topic.

I was getting an "offuscated exception".

It's totally normal use those two parameters together.

11 years ago
JSF
Thank`s for your answer Saket Mittal,

In this situation the web server (Apache Http server for example) would serve only static resources and my JBoss will do all the work (Web+EJB Container) right?

Great help! Thank`s!
Hello guys,

I have one question about the deployment of my application.

Considering that I have an .ear:

1- If I implant this ear on a JBoss AS for example, how could I configure and represent a DMZ firewall? Is It possible?

2- Can I separate the .war and put on a separate tomcat to use a DMZ and the jars on jboss as?

3-In option two i should separate the war project from the jars and use only Remote EJB interfaces right? In this case I am scared about the time of response of my app.

What you guys think about It?

Thanks!
Hello guys,

I'm really confused about how to represent a call to a session bean in the sequences diagrams.

I did something like that:



Controller -----1- Dependency Injection()------> EJB Local IF


Controller--------------2 - doSomething()------------------------> EJB IMPL




I think it is a litle weird because my controller doesnt know anything about concrete classes.

How you guys representing this scenario?

Thanks to all!
Hello guys,

1) I've never worked with cluster enviroments and I have many doubts:

The main doubt is: Can I work only with EJB Local interfaces on these enviroments?


2)Refering to tiers, I'm considering the use of the Apache web serve to serve static pages.

Is it necessary to add a web container to serve dynamic pages and controllers in adition to the application server or It is a good practice to allow the application server to do all the work?


Thank's to all!





Hello Ranchers,

I'm at part 2 right now and really wants to use Business Delegate.

The question is: How can I use DI on my POJO Delegate? Because I don't want to use a Service Locator to lookup my EJBs.

Thanks
Thank's Christophe!

I'm more relaxed now
Hello Ranchers,

I'm preparing myself for the exam and I've noticed that there are so many xml tags and annotations to keep in mind.

Every little thing on the specification is available to use via anotations or xml.

To the exam I need to know all the xml tags and annotations or the exam focus on the concepts?

Thank's!
LOL, sorry...

I was refering to you Leandro.
Oh ok Marcelo.

But im both situations the object have to implements Comparator/Comparable right?

Thank's for the explanation.


Hi everyone,

I've read on Kathy's book that an array or collection need to be classified to use the sort method.

Testing on my eclipse, I noticed that in case of sorting a not classified object, the method Arrays.sort throws ClassCastException at runtime, but the method Collections.sort gave me a Compilation error.

What's the difference between these methods?

Thanks.
hello,

Using interfaces is a good practice because you can use the polymorphism.

For example.. you can make a method with interfaces parameters, so you will be able to call this method passing any object that implements that interface.
15 years ago
Hello folks,

I want to clone an arrayList, but with different references (2 objects).

I tried to create a new arraylist and use de method addAll() passing the list, but it still continue with the same reference, if i modify some propertie of the new arrayList, the same propertie from the original list is modified too..

How can i clone an arraylist with 2 distinct objects?
15 years ago
Hello folks,

I solved this problem removing the tag <center>.

If you use the tag center, it bugs the reRenderize of rich:dataTable.


cya.
15 years ago
JSF