Embedded Messaging Component for Java Web Application

To meet customer requirements, we must allow users to share information with each other. A “ messaging system ” does not have complex requirements for the initial requirements and can be easily implemented using several tables for storing messages and message types.

The problem is that I believe that the requirements for the interface are very high, and usability is very important. In addition, I expect this communication part to become an important part of the system in the long run.

Is there anything that can be directly integrated into the Java web application and adapted to the application design? We need the following interface

From the service level:

  • send message to user (title, subject)
  • message reply
  • notification of a new message in the user's mailbox (if possible: on the current page)
  • interface to existing user management

Preferably, the component should have an interface with the following functions:

  • message management (select, delete, reply, delete / restore, ...)
  • folders: inbox, sent, baskets
  • tagging: message categories
  • show recent x messages in panel / div
  • application style

If there is something stable enough, I would prefer to use the component before implementing something like this in the application. The application runs on Wicket, but we are not tied to this structure for the messaging component.

Thanks Kariem


In portal servers, you have the ability to add portlets that can do something similar to the component I'm looking for; for example Liferay provides mail and message boards .

As akf points out in a comment, Jabber provides a solid foundation for messaging. We are looking for something that can be integrated into a web application. If we need to create a lot of user interface around Jabber, we cannot consider it suitable for our requirements.

+4
source share
4 answers

Well, that might be a little surprising, but what about trying Google Wave ? If I consider your criteria:

Is there anything that can be directly integrated into the Java web application and adapted to the design [...]

It may be as you learn in this mini-tutorial: http://blog.zenika.com/index.php?post/2010/01/27/Google-Wave-Embedded-API-the-missing-tutorial ( how interesting, right?)

From the service level:

  • send message to user (title, subject)
  • message reply
  • notification of a new message in the user's mailbox (if possible: on the current page)
  • interface to existing user management

Everything except the last moment is offered by an instance of Google Wave. The last point may be a little more difficult to solve, as you will need your user to have a googlewave account. Managing these accounts may be available through Google Apps , but this is not possible. If this is absolutely necessary, you can plan your own copy, as this is an open protocol , but your goal was to have something done for you, right?

Preferably, the component should already have an interface with the following functions:

  • message management (select, delete, reply, delete / restore, ...)
  • folders: inbox, sent, baskets
  • tagging: message categories
  • show recent x messages in panel / div
  • application style

Great, everything is fine with the Wave.

If there is something reasonable, I would prefer to use something like this in the expression before embedding. The application works Wicket, but we are not tied to this framework for the messaging component.

Ok Wicket is so fashionable, you need this solution :-) I admit that it is a bit " avant-gardiste , I never did this, but I thought that this could expand your vision, because to your problem ...

+1
source

If you are looking for open source java email clients:

http://java-source.net/open-source/mail-clients

You can also watch Google Wave . At the same time, you will have the next generation communication and data exchange tool. Check out some awesome google wave videos at www.youtube.com

http://code.google.com/apis/wave/

http://code.google.com/p/wave-protocol/wiki/Installation

.

Updated Solution ... Email Web Clients

http://java-source.net/open-source/web-mail

http://code.google.com/p/cubusmail/

http://www.zimbra.com/downloads/os-downloads.html

+1
source

I think an IM web client such as SparkWeb might be useful in your scenario.

0
source

It is recommended that you use XMPP for messaging, as you can easily integrate your server with other chat servers such as GTalk and Jabber.

If you intend to embed a messaging server in your application, Tigase is a fast and reliable Java XMPP server that can be easily integrated due to its light weight and no third-party dependencies. It also scales to hundreds of thousands of users with almost no problems.

For the client, you can use the many available XMPP web clients, such as emite , which is a GWT-based web client, which is excellent and AJAX.

0
source

Source: https://habr.com/ru/post/1286755/


All Articles