473,387 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

chat in java

i have created a chat application in java. the server listens to clients, receive messages from them, and send these message to other clients. i intend to embed the client program as an applet in a website that i'm developing. i am building this website using apache-php-mysql
is there a way to trigger the server program (which is a java class) through php. what i want is that as apache starts, the server program is also executed. is this possible?
Jan 30 '08 #1
3 1830
BigDaddyLH
1,216 Expert 1GB
Why not add Tomcat to the mix? I think you could loose the PHP and access your server-side Java component using a servlet.
Jan 30 '08 #2
Why not add Tomcat to the mix? I think you could loose the PHP and access your server-side Java component using a servlet.
this might be a stupid question but can tomcat and apache run simultaneously?
Jan 31 '08 #3
BigDaddyLH
1,216 Expert 1GB
this might be a stupid question but can tomcat and apache run simultaneously?
Tomcat is a servlet container and is mean to run inside a web server, so they are meant to work together. For demo purposes, it's enough to install Tomcat, because it comes with a server suitable for development and testing.
Jan 31 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Ali | last post by:
I'm trying to write a really basic chat program that allows 2 client programs to send messages to each other via a server. I've managed to write the code so that both clients can connect to the...
2
by: Savas Ates | last post by:
how can i do a chat page with asp .. does anyone have example codes or url.. or with java.. please help me...
7
by: Gooshi | last post by:
Is it possible to write a dead simple html chat client ie one form that can be accessed by two people : ie a form that has two text areas - one for me to write to - one for another person to...
2
by: raski | last post by:
hello all! how is it possible to backdoor a java based chat room? www.iskon.hr/chat/chat.jsp
5
by: Bhaiyyah | last post by:
I am repetitively failing to login with any user name for XHTML Chat. Here is some info I copied from view source: Link: http://www.shiachat.com/forum/chat.html ...
1
oll3i
by: oll3i | last post by:
how do i run this example ? with openjms package com.ociweb.jms; import java.io.*; import javax.jms.*; import javax.naming.*;
1
oll3i
by: oll3i | last post by:
when i run it from bat (@start "CHAT to topic" run Chat)without durable subscriber the window for chat opens but when i added the durable subscriber to the code it stopped opening? import...
5
by: jaceterrel | last post by:
Okay, my question is about Java Chat. If I am chatting with some one in a Java Chat is my conversations stored on my hard drive, if so how do I remove them? Thanks
1
by: linksterman | last post by:
I am making this pretty basic chat project, and I found this echo server on the internet and decided to modify it my needs (much of the methods and fields are the same). Basically what my program...
1
eyeofsoul
by: eyeofsoul | last post by:
i have build the gui but i am having problem with implementing the tcp/udp. can somebody help me. i have server and client. the server can chat with the client. when i tried to to use the udp of tcp...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.