liliane fahmy

Greenhorn
+ Follow
since Aug 24, 2012
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 liliane fahmy

So I want example of connection pool and where can I put this connection pool ?
Thanks and best regards
I know that javax.servlet.ServletContextListener is called when the application started(after deployment)
My question is :when i have huge application which use it more then 100 users at the same time,I can make the connection of DataBase in the servletContextListener or
it will be better if I make it when the user login and put it in session scope?which improve the performance ?
Please answer me
Thanks and best regards

We want to create a new project using JSF 2 and PrimeFaces ,using WAS 7.0 as application server

We tried to run primefaces using RAD 7.5 and WAS 7.0 but unfortunatley RAD 7.5 doesn't support unless JSF1.2

So can anybody advice us about this problem

How running primefaces using WAS 7.0

N.B: we can using Tomcat or any application server instead

Thanks for advance advice
















8 years ago
Hi all

1-I want to know the characteristics of webpshere application server and its difference between other applicayion server like Jboss,weblogic,Appache tomcat,Glassfish,.. etc
please would you please supply me a topic which explain this.

2-I want to download IDE which can be integrated with websphere application server 7,some suggestion say that rational application developer RAD which is suitable to WAS 7
please I want a link to download the IDE for free which can be integrated with WAS7.
8 years ago
Hi all,
would you please give me an advice to make a good design of JSF.
I used to put the action and event methods in the backing bean (I know the different types of managed beans) ,
but someone tell me that the backing bean must contain getter and setter only ,not else.

So what is your advice ?

Thanks for advance reply
8 years ago
JSF
Hi all,

Please I want to know how to create UIcomponent on the JSF page by java code.

I tried to use addComponentResource invoked from action method,but it didn't work anymore ,here you are the code:


and from the jsf page


There is something wrong or i must do it by another way?
Please help me.

Thanks and best regards
8 years ago
JSF
Thanks for your reply .

Would you please send me a topic which explain
how to inject a managed bean as properties ,and the rules of its scopes.

Thank you
8 years ago
JSF
I am facing 3 problems in my program:

1-As I know that valueChangeListener was fired in the Process Validations phase before Update Model
Values phase is this true?
My problem is that the managed beans were updated before the valueCahngeListener was fired.
So I want to update the model after the valueChangeListener was fired.How do this?

2-When I call managed bean from another,it got nullPointerException although I declare ir in face-config.xml as follows:



and in the backing bean class:

What I can do to solve this?Has it something missing?

3-How to change the values of HtmlSelectoneMenu programmaticaly?

Please I want help

Thanks and best regards
8 years ago
JSF
Thanks a lot Sir
8 years ago
JSF
Thanks for your help,

it 's working well now but please I want to understand the functionality of onchange attribute need more explanation.

Thanks and best regards.
8 years ago
JSF
I have a problem in valueChangeListener:

I want to change the local ,as when the user change the value of combo box from English to French ,the page reload by the new local.

The problem is:the valueChangeListener didn't fired unless the form get submitted which I don't want anymore.

So:what I can do to fired the event immediately when change the value of combo box.

The code of page is the following:



Is something wrong in my code?
Please help me
8 years ago
JSF
Dear all,

please I want reply to my problem ,as it 's serious.

Thanks and best regards
Hi all
I have client and server projects.
The server project is a Message -driven project which receive message from the Client .
The problem is :I want to a add EJB module(EJB session bean) in Client project as the server(message driven bean project) can call this session bean .
I tried it by using Netbean:when the client attempt to connect to MDB ,it throw null pointer and the code is as follows:
Connection connection = connectionFactory.createConnection();
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer producer = session.createProducer(queue);
Message message = session.createTextMessage();
the exception is :Exception in thread "main" java.lang.NullPointerException
at terminalserver.Main.main(Main.java:33)

Although I try to create Entreprise application client project to send a message to my MDB ,it work correctly.
The summary of my problem ,I want my 2 EJB Project,the first has MDB and the other has Session bean and can call each other.
Any help to make my project work .
Thanks and best regards.
Hi all,
I have client and server projects.
The server project is a Message -driven project which receive message from the Client .
The problem is :I want to a add EJB module(EJB session bean) in Client project as the server(message driven bean project) can call this session bean .
I tried it by using Netbean:when the client attempt to connect to MDB ,it throw null pointer and the code is as follows:
Connection connection = connectionFactory.createConnection();
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer producer = session.createProducer(queue);
Message message = session.createTextMessage();
the exception is :Exception in thread "main" java.lang.NullPointerException
at terminalserver.Main.main(Main.java:33)

Although I try to create Entreprise application client project to send a message to my MDB ,it work correctly.
The summary of my problem ,I want my 2 EJB Project,the first has MDB and the other has Session bean and can call each other.
Any help to make my project work .
Thanks and best regards.
Hi all,
when i attempt to deploy an driven message bean ,it got the following error :
SEVERE: UTIL6550: Error in local string manager - resource bundle is probably missing.
java.util.MissingResourceException: Can't find bundle for base name com.sun.enterprise.connectors.jms.system.LocalStrings, locale en_US
SEVERE: MDB00017: [ClientMessageBean]: Exception in creating message-driven bean container: [com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: No local string defined]
SEVERE: com.sun.appserv.connectors.internal.api.ConnectorRuntimeException
com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: No local string defined.

And this is the code of message driven bean
[@MessageDriven(
mappedName = "ClientMessageBean" ,
activationConfig = {
@ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue") })
public class ClientMessageBean implements MessageListener {





@Override
public void onMessage(Message message) {

}
}
]
And so the bean couldn't deployed ,Please I need a solution for this error.
Thanks and best regards