tag:blogger.com,1999:blog-4604699843198276393.post4754560658247091270..comments2024-03-15T00:32:00.571-07:00Comments on Osama Oransa's Blog: New Open Source : Java Web Chat ModuleOsama Oransahttp://www.blogger.com/profile/03508436445550571265noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-4604699843198276393.post-38264995160209543672014-01-15T05:06:38.617-08:002014-01-15T05:06:38.617-08:00You need to follow the same concept but target id ...You need to follow the same concept but target id would be the group id, and the message shouldn't deleted unless received by all group users , you need to keep a mapping between group and users as well.Osama Oransahttps://www.blogger.com/profile/03508436445550571265noreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-55341122140535720992014-01-15T04:37:51.631-08:002014-01-15T04:37:51.631-08:00Dear Oransa,
Thanks a lot for providing that code...Dear Oransa, <br />Thanks a lot for providing that code openly. <br />Can you please suggest me how can I implement group chat in that application?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-76314182124385975052013-11-25T03:48:04.529-08:002013-11-25T03:48:04.529-08:00Yea you need to do that in big enterprise applicat...Yea you need to do that in big enterprise application with some sort of cache:<br />- Keep new messages in memory collections.<br />- Messages that become old , (if ajax will get the messages in every 1 second for example if message remains for 3 seconds, persist it into DB and remove it from the collection)<br />- Cache DB tables so getting old messages can be easier than hitting the database ...<br />etc...<br />Osama Oransahttps://www.blogger.com/profile/03508436445550571265noreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-83255948083771995792013-11-25T03:38:14.118-08:002013-11-25T03:38:14.118-08:00-Create DB table same bean structure that carry th...-Create DB table same bean structure that carry the message.<br />Usage of above table--when I send message ,it need to be stored in the database and retrieved from db and display to the user?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-77875254776838518312013-11-24T23:18:56.073-08:002013-11-24T23:18:56.073-08:00Thank u very much sir.Thank u very much sir.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-68268832559206716272013-11-24T08:40:03.874-08:002013-11-24T08:40:03.874-08:00What i mean to persist the messages instead of sto...What i mean to persist the messages instead of storing them into a collection in the memory, it depends on the number of users..<br />You can do the following dummy changes:<br />- Create DB table same bean structure that carry the message (with any required additional tables)<br />- Create JPA with a new entity bean that map to this table.<br />- Use create/select all/remove to add and remove messages from the queue per user ajax call.Osama Oransahttps://www.blogger.com/profile/03508436445550571265noreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-42141073726198211582013-11-23T04:01:39.855-08:002013-11-23T04:01:39.855-08:00Can I use this code for large enterprise level pro...Can I use this code for large enterprise level project?<br /><br />Can U please tell me the procedure how to tweak the implementation of messaging collection into persistent database ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-42115319189570905632013-11-23T01:37:01.225-08:002013-11-23T01:37:01.225-08:00yea you can but you would need to tweak the implem...yea you can but you would need to tweak the implementation of messaging collection into persistent database or the memory will grow up ...Osama Oransahttps://www.blogger.com/profile/03508436445550571265noreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-3258009716406300582013-11-22T21:40:39.705-08:002013-11-22T21:40:39.705-08:00Can I use this code for large enterprise level pro...Can I use this code for large enterprise level project?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-59472828392572335622012-07-04T11:05:21.514-07:002012-07-04T11:05:21.514-07:00install? deploy it on any app server or import sou...install? deploy it on any app server or import source code and customize it.Osama Oransahttps://www.blogger.com/profile/03508436445550571265noreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-16154257218818943452012-07-04T09:28:05.188-07:002012-07-04T09:28:05.188-07:00Any manual to install?Any manual to install?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-18482465286583555032011-03-26T05:14:05.386-07:002011-03-26T05:14:05.386-07:00Can you provides more details about the error ...
...Can you provides more details about the error ...<br /><br />It seems there is extra ";" is expression <%=.....; %> but i am not sure , i need more details...<br /><br />What are the IDE you are using ? and JDK version ?Osama Oransahttps://www.blogger.com/profile/03508436445550571265noreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-18278131353790931072011-03-26T04:22:27.498-07:002011-03-26T04:22:27.498-07:00i am getting an error org.apache.jasper.JasperExce...i am getting an error org.apache.jasper.JasperException: Unable to compile class for JSP: <br /><br />An error occurred at line: 6 in the generated java file<br />Syntax error on token ";", delete this token<br />plz contact @maaask3@gmail.comAnonymoushttps://www.blogger.com/profile/14175748952121044219noreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-90856984005237221912011-02-10T03:36:49.195-08:002011-02-10T03:36:49.195-08:00Yea, sure just pass credential during login to por...Yea, sure just pass credential during login to portal or forum to it, actually the login module and user management should be implemented by the portal/forum itself not by this utility.Osama Oransahttps://www.blogger.com/profile/03508436445550571265noreply@blogger.comtag:blogger.com,1999:blog-4604699843198276393.post-63469170807656509482011-02-10T02:49:37.294-08:002011-02-10T02:49:37.294-08:00Can members auto login if they already log in port...Can members auto login if they already log in portal or forum?<br /><a href="http://www.join-vert.com/" rel="nofollow">Friends dating </a>balvinderhttps://www.blogger.com/profile/14613046707478455934noreply@blogger.com