expose RMI server in JBoss?

I need to access RMI methods from a client front end. For different reasons, I have JBoss running on the server side. This makes me thinking of using JBoss to expose the RMI server methods.

I'm kinda new to JBoss, so my question would be: What steps are required in order to make the RMI server methods visible to the client?

Asked by: Haris633 | Posted: 28-01-2022

Answer 1

Here is the how to from JBoss Steps to Expose Any RMI Interface via HTTP

Answered by: Melissa738 | Posted: 01-03-2022

Similar questions

Java MINA Expose Socket

I'm working with an implementation of MINA that uses a NioAccepter. My task is to make a basic java.net.Socket framework interface with both other java.net.Socket frameworks as well as Apache's MINA NIO framework. This should have been simple enough, passing the raw socket from the MINA to my framework. However, I've yet to succeed in exposing the raw socket. This is the first time...

java - Expose Hudson system info to remote API

I was wondering if anyone has been able to expose the system info from Hudson/Jenkins to the remote API? I manage multiple instances and would like to be able to gather some basic information and statistics about each instance together to be able to compare them. At the moment, I would just like to obtain the java.home directory so I can resolve the version of Java being used on builds that show "(Default)...

java - Is there a way to expose a static XSD in Spring WS 2?

If, for example orders.wsdl imports Orders.xsd, how can it be configured using static-wsdl <sws:static-wsdl id="orders" location="/WEB-INF/wsdl/orders.wsdl"/> such that Orders.xsd can be viewed in the browser like http://host/context/Orders.xsd Dynamic wsdl supports it. <sws:dynamic-wsdl id="orders" portTypeName="Orders" locationUri="ht...

java - Expose webapp to the web?

I have a running webapp on localhost:80. How can I now expose it to the internet? I use tomcat, and can access my localhost ip from network fine! But if I try to connect to my internet-ip, I only get timeouts. How can I access my app from the web?

Expose a java method using JMX

We can expose a java method either through JMX or as a Webservice. In which situation we use JMX for exposing a java function ? Is there any particular advantage the jmx have over webservice?

java - Expose all IDs when using Spring Data Rest

I'd like to expose all IDs using a Spring Rest interface. I know that per default an ID like this will not be exposed via the rest interface: @Id @GeneratedValue(strategy=GenerationType.IDENTITY) @Column(unique=true, nullable=false) private Long id; I'm aware that I can use this to expose the ID for User: @Configuration public class Repo...

java - How do you expose Spring beans to a Spring MVC View?

I have a @Controller that has a @RequestMapping to map an endpoint to my jsp page. In that controller, I use a @ModelAttribute annotation to make a @Bean I have in my configuration file accessible in my jsp. @Controller public class WebPageController { @Autowired private MyBean myBean; @ModelAttribute public MyBean myBean() { retu...

java - How can I expose an object to all of my views in Struts 2?

I have a web application using Struts 2 with Freemarker templates, and Spring 4. I have a few configuration strings that are stored in a .properties file which I need to render on every page (for example, our CDN path, which contains a version string). Right now these properties are read by Spring and stored in an instance of org.springframework.core.env.Environment. Is there an easy...

lua - How to expose java object to LuaJ

I've recently started learning Lua because I need to use it in a Java application I'm working on. For this I'm using LuaJ. I've searched around on the internet and found out how you can expose a Java method to LuaJ but I can't find out how to expose (give LuaJ access to) a Java object. I saw another post about exposing C# objects to Lua and the answer was this: The general method of sharing objects b...

java - Expose logs in Spring Boot Admin without having log file

I am currently using Spring Boot Admin to manage a Spring Boot application. SBA exposes correctly the logs of the application in the tab "Log". As part of transitioning the deployment to Docker I would like to continue forwarding our logs to stdout and ELK, but to stop logging to a rotating log file. After removing from Spring Boot application.properties file the property "logging.file" I could check t...

Still can't find your answer? Check out these amazing Java communities for help...

Java Reddit Community | Java Help Reddit Community | Dev.to Java Community | Java Discord | Java Programmers (Facebook) | Java developers (Facebook)