I have a Swing application which communicates with database to EJB (session EJBs running on JBoss). I would like to add the opportunity to call external web services from the client.
I think there are two alternatives :
1) swing's client code talks to WebServices directly
2) swings's client talk to session bean deployed on my JBoss which in turn talk to WebServices
any ideas which I should choice ? the (1) is maybe simpler, i am trying to understand if i'll buy something doing(2).