Chatting Application [message #597348] |
Thu, 03 October 2013 09:39  |
 |
thelearner
Messages: 133 Registered: April 2013 Location: INDIA
|
Senior Member |
|
|
Hi,
I want to create chatting Application using/without using pjc java bean.
I want to develop application internal chatting application without using IP address.
if there is any possibility by using only System name users can chat.
Because we are using dynamic IP address configuration.
Thanks & Regards,
The Learner.
|
|
|
Re: Chatting Application [message #597354 is a reply to message #597348] |
Thu, 03 October 2013 11:38   |
 |
thelearner
Messages: 133 Registered: April 2013 Location: INDIA
|
Senior Member |
|
|
I want to display like this way....
A) Text_item_A B)Text_item_B
1) When I enter text in Text_item_A then it stores in one variable.
2) when I press send button it should display in Text_item_B along with previously entered text.
Like..
Jin: Hi, How r u..
Smith: Fine, what about u?
.....
Please tell me how to do this?
Thanks & Regards,
The Learner.
[Updated on: Thu, 03 October 2013 11:39] Report message to a moderator
|
|
|
Re: Chatting Application [message #597360 is a reply to message #597354] |
Thu, 03 October 2013 13:04   |
 |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Here's a simple "solution"; I didn't try it, I'm just thinking aloud.
Create a table and a sequence:create table chat
(id number, -- sequence
text_date date, -- sysdate
text_user varchar2(20), -- person who is chatting
text varchar2(500) -- what did that person say
);
create sequence seq_chat;
In a form, create two blocks.
One of them would be used to insert a text line into the CHAT table; as an ID, you'd use previously created sequence. TEXT_DATE should equal SYSDATE.
Another block is a multirecord block, based on the CHAT table, set its ORDER BY clause to ID DESC. Set a timer which will automatically preform EXECUTE_QUERY.
So, you'd enter some text into the table; query would display it in a multirecord block. Anyone who runs that form would see people chatting.
|
|
|
|