• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ejb3 over https

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey,

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 -
http://www.jboss.org/jbossejb3/docs/tutorial/http_https/http_https.html


They said there to add on the bean:
Code:



My questions are:
1. What if i what if i want the ability to call to this bean over RMI or Http is this possible. i guess its not and i don�€™t want to have bean for each protocol.

2. When i run the server i bind it to a specific address. on the bean i need to write the URL , can i avoid from set my host ? I don't know the customer IP? (I think write 0.0.0.0 there will need to work and I will check this)?

3. For advanced - why i need to deploy a servlet in order to support in ejb3 over https?

Thank you
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic