I am planning to do a simple Remote Procedure Call (RPM) over the web and I am currently using WebSockets. I was wondering if Jini is better than WebSockets or if there is a newer API or framework for Java to do RPC.
Is there a better technology than Apacher River (Jini) for Remote Procedure Calls?
271 views Asked by Gorayni At
2
There are 2 answers
0
rancidfishbreath
On
I wouldn't use WebSockets directly because older browsers and/or corporate firewalls may have issues with it. SocksJS is a respected wrapper that will gracefully degrade to another transport mechanism if required while still allowing you to work with a WebSockets type of API.
The client side is generally written in JavaScript but they have a number of servers written including two in Java: Vert.x and Netty. It looks like the Vert.x implementation is a little more mature at this point in time.
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in WEBSOCKET
- Resolving ElephantIO ServerConnectionFailureException: Error establishing connection to server
- Django socketio process
- How to decode audio stream using tornado websocket?
- Java and React WebSocket - Error Connection
- Socket.io nodejs server .NET connection
- Troubleshooting WebSocket 502 Error in Python Code
- Getting an error in Socket.io wordle project
- Best practices with realtime data / websockets. Send vs. revalidate data
- My socket.io web socket application is not sending data to some users
- Android 13 & 14 seem to close WebSocket connection, if i put app in background, after ~20s
- Audio bytes chunks getting corrupted during streaming using Django and Websockets
- Odoo live chat not working when using apache reverse proxy
- websocket Fatal error message stating "Failed to listen on tcp://0.0.0.0:8080: Address already in use
- Stomp connection using JWT token in Python
- Symphony Fintech (XTS) market-data socket data integration in PyQt6 using python3
Related Questions in DISTRIBUTED-COMPUTING
- Micrometer & Prometheus with Java subprocesses that can't expose HTTP
- Least Connection Load balancing using Grpc
- How to debug ValueError: `FlatParameter` requires uniform dtype but got torch.float32 and torch.bfloat16?
- Load pre-training parameters trained on a single GPU on multi GPUS on a single machine
- How to access spark context or pandas inside a worker node to create a dataframe?
- Not Able To Connect Storj Node with Quic connection
- Is it better to store CUDA or CPU tensors that are loaded by torch DataLoader?
- FSDP with size_based_auto_wrap_policy freezes training
- Scalable Architecture for an Uptime Bot Tool in Node.js Handling Thousands of Cron Jobs Per Minute
- Contiguos graph partitioning
- How can we redirect system calls between OSes?
- spark sql - Have disabled Broadcast Hash Join ,but "NOT IN" query still do the mechanism
- How does model.to(rank) work if rank is an integer? (DistributedDataParallel)
- scanf function with MPI
- Accessing multiple GPUs on different hosts using LSF
Related Questions in JINI
- Trying to convert a JLabel to JList using a setCellRenderer
- javaspace(Apache river) cannot initialize outrigger script
- What is the difference between Jini and RMI?
- Getting error while creating object space using JavaSpace?
- Notifications of Lease expiration in Jini/Apache-River and JavaSpaces
- Reading multiple Entries template
- Android AudioRecord MP3 encoding AudioFormat.CHANNEL_IN_STEREO
- Discovery System for android and desktop machines
- Suitable frameworks for ERP like application
- Jini (Apache River) cannot initialize Reggie (Lookup Service) script
- Is there a better technology than Apacher River (Jini) for Remote Procedure Calls?
- "AWT-EventQueue-0" java.lang.ExceptionInInitializerError when using import net.jini.export.Exporter;
- Implementing TransactionManager in JINI
- jini starter kit 2.1 for installing blitz javaSpaces
- What is this Jini technology?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
WebSockets and Jini are the main ones of note, both have their pluses and minuses. I'd say WebSockets is great just for the sheer amount of examples and documentation lying about. Jini is a lot different than WebSockets - so if anything the overheard of learning how to use it may not be worth it; that is up to you to evaluate, I spose.