<p>I am currently modifying some jsf application. I have two beans.</p>

<ul>
<li>connectionBean</li>
<li>UIBean</li>
</ul>

<p>When I set my connection parameters in connectionBean the first time, the UIBean is able to read my connectionBean information and display the correct UI Tree.</p>

<p>However when I try to set the connection parameters in the same session. My UIBean will still use the previous connectionBean information.</p>

<p>It only will use after I invalidate the whole httpSession.</p>

<p>Is there anyway I can make one session bean update another session bean?</p>

Sounds to me like it's some kind of problem with UIBean referencing an out-of-date version of ConnectionBean. This is one problem with JSF - if you re-create a bean, JSF will not update the references in all your other beans.
You could try getting a 'fresh' copy of the ConnectionBean each time. The following method will retrieve a backing bean by name:
```
```
protected Object getBackingBean( String name )
{
    FacesContext context = FacesContext.getCurrentInstance();

    return context
            .getApplication().createValueBinding( String.format( "#{%s}", name ) ).getValue( context );
}
```
```
Without knowing the specifics of your code and how you're using the beans it's difficult to be more specific!