Is it possible to create a websocket server with Oracle? - oracle

I came accross the following article that explains how to make connections from Oracle PL/SQL to Websocket server : https://www.opencodez.com/oracle/oracle-pl-sql-programming-socket-connection.htm
In the example the Websocket server is written in Java.
I would like to know please if it's possible to create such Server with Oracle PL/SQL or Apex ? Which means a server that accepts websocket connections entirely inside Oracle environment.
I know that Oracle Apex allows to create RESTful API server. Was wondering if there is something that can be done for Websockets.
Thanks,
Cheers,

Related

Multiple clients one TCP server select()

I'm a beginner to TCP client-server architecture. I am making a client-server application in C++ I need the server to be able to accept messages from multiple clients at once. I used this IBM example as my starter for the server
server.
The client side is irrelevant but this is my source client.
The problem is with the server side it allows multiple clients to connect but not asynchronously, so the server will connect with the second client after the first one finishes. I want the server to watch for messages from both clients.
I tried to read about select() on the Internet but I couldn't find anything to make the IBM code async. How can I edit the server code to allow the clients to connect and interact at the same time?

Thrift - send files from server to client

I am using thrift and I have a java client and server. I am calling some functions on the server from the client and that part is already working. After calling the functions, I have an output file created in the machine where the server is running. I need to return this file to the client. How can I accomplish this? Should I use TFileTransfer? If not, is there a better way to get the data back?
In a sense, I need to create a client within the server..
I am new to Thrift and any help will be appreciated.

Starting a jms Connection with standalone MQ Clientdriver

I want to check if a JMS-Connection to a remote queuing is working. As this should be kind of J-Unit Test I can't use a Server (in my case would be Websphere. Is there any driver implementation or API I could use to initialize the connection ?
No; without a backend Queuemanager there's nothing to respond to the connection. Messaging is inherently a distributed / networked product. There isn't something like a 'mock' QueueManager. In order for the connection to be properly created the mock would need to implement a lot of real function.

ADO.NET (ODP.NET) and same Connection pool for different clients connection

We have to implement a two tier architecture to distribute a cache from a central Oracle DB to a lot of clients (circa 200) into an Intranet. After some experimentations we have opted to use a direct connection from the client to the DB server. This decision has been taken to simplify the architecture and to reduce the overheads.
Client application are made in C# and the natural choice should be to adopt ODP.NET (ADO).
But now we are trying to understand if it is possible to have and to use the same connection pool for all the clients connection. The clients will connect with the same functional username and password.
Could anyone help me in clarifying this key point?
Have you considered looking at Oracle 11g Database Resident Connection Pooling? This may resolve your issue.

ORACLE Send Email using SSL

is it possible to send e-mail over ssl in plsql?
thanks for helping.
Not with pure PL/SQL afaik. We added some java classes to the database which performs the SSL mail sending with the java mail api.
Oracle's UTL_SMTP does not support SMTPS (SMTP over SSL) - you have to wrap the connection. See this link for a working, but not recommended for production use, example.

Resources