JInvite - Java Invitation API JInvite - Java API invitation
JInvite is a simple Java API which makes it easy to add invite capabilities to Java - the ability for existing members of your web service to invite other members. JInvite est une API Java simple qui facilite l'ajout de capacités inviter à Java - la capacité pour les membres de votre service Web à inviter d'autres membres. This capability was in the early days of GMail and now widely adopted by Web 2.0 (beta) sites for limiting site load and gradually increasing capacities. Cette capacité a été dans les premiers jours de Gmail et désormais largement adopté par Web 2.0 (bêta) des sites pour limiter la charge et le site peu à peu l'accroissement des capacités.
The API constitutes of two simple methods: L'API constitue de deux méthodes simples:
1. Inviter.getInviteCode(conn, invitingUser) - Creates invitation code Inviter.getInviteCode (conn, invitingUser) - Crée un code d'invitation
2. Inviter.confirm(conn,incomingInviteCode) - Confirms invitation code Inviter.confirm (conn, incomingInviteCode) - Confirme code d'invitation
It requires a JDBC connection to store data. Il exige une connexion JDBC pour stocker des données. In the database you need to create a table with the following schema: Dans la base de données dont vous avez besoin pour créer une table avec le schéma suivant:
create table invite(code varchar(36) primary key, user varchar(50) not null, createdOn datetime not null); create table inviter (code varchar (36) clé primaire, l'utilisateur varchar (50) NOT NULL, createdOn datetime NOT NULL);
This project checks out as an Eclipse Tomcat project. Ce projet contrôles comme un projet Eclipse Tomcat. However you are not required to use Tomcat or even Eclipse. Cependant, vous n'êtes pas obligé d'utiliser Tomcat ou même Eclipse. You can download it Vous pouvez le télécharger here ici .
Filed under Classé sous Headline News Headline News , How To Comment , Java Software Logiciel de Java , Programming Programmation , Web , Web Services Services Web | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | cet article |
Email this Article Envoyer cet article
You may also like to read Vous mai également à lire |




