I have configured successfully spring and blazeds; However, I need to get ipaddress, host and port on my server side(java). How do i get that address and port name of my server since they are all POJOs and only works with spring configuration.
e.g. in my spring configuration
<!--other flex configuration--->
<bean id="myService" class="com.example.MyService">
<flex:remoting-destination channels="my-amf" ref="myService" />
com.example.MyService.java is a POJO. I need to get my server address and port number in that POJO.
Is that possible? or any other better idea? Thanks in advance.