I have a java client and jboss4.2 as an application server.
I work against stateless bean as a facade.
My server is behind firewall and i have only two port that opened http , https.
in some cases i want to work with http and in other cases i want to work in https (its depend on the customer decision).
I followed the following tutorial in order to have EJB3 over HTTPS -
They said there to add on the bean: