In JSF, you can call the server by creating a new JSF managed bean and adding a button to a JSF page that will call the server when clicked.