[sip-comm] SIP-Communicator JAVA Appelet


#1

Hello to All Sip-Communicator Users
please is it pocible to host the SIP-Communicator JAVA Project a a JAVA
Appelet ?
thanks

···

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#2

Hello Meftah,

yes it is theoretically possible.

But there are some changes that are necessary, especially in the UI
bundles (so that the painting is done in the applet panel, and not in
its own panel)

I've done this some time ago as part of my thesis (it's written in
German, so I think it is not really useful for you). There should be
some posts about it (and also some patches - be aware they are outdated,
but they should give you an idea of what is necessary to get it run in
an applet) on the dev list. If you search the dev list for "applet" you
should find it.

Some warning (at least for running on linux): if you run SC as an
applet, and you leave the page the applet is on, not all threads stop
running. This causes some sound resources to be still allocated by the
java runtime, and it is not possible to start the applet again with a
properly running sound system.

Much easier than running SC as an applet, is to run it as a WebStart
application, as you don't have to do any code changes. You only need to
write a jnlp file, a custom startup class (that handles the (remote)
bundle loading) and pack all jars together to a fat jar (this is not
really necessary, but makes starting the app MUCH faster). In this case,
it is MUCH easier to upgrade to a newer SC version, as you can just use
the code from the svn and only need to adopt your jnlp (and your fat
jar, of course).

Sebastian

Meftah Tayeb schrieb:

···

Hello to All Sip-Communicator Users
please is it pocible to host the SIP-Communicator JAVA Project a a JAVA
Appelet ?
thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

--
/**
* Sebastian Heib
* Software Developer
*
* Synyx GmbH & Co. KG
* Business in Components
* Karlstr. 68
* 76137 Karlsruhe
*
* phone +49(0)721 66 24 866
* fax +49(0)721 66 48 877
* eMail heib@synyx.de
* www http://www.synyx.de
* irc irc.synyx.de
*
* Sitz der Gesellschaft: Karlsruhe
* Registergericht: Mannheim
* Handelsregisternummer: HRA 4793
* USt-IdNr.: DE249264296
*
* Komplement�rin: Elatech Verwaltungs GmbH
* Sitz der Gesellschaft: Karlsruhe
* Gesch�ftsf�hrer: Markus Daniel
* Registergericht: Mannheim
* Handelsregisternummer: HRB 7250
*/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#3

hello,
thank you for your fast responce!
awesome!
please, is it pocible to mail me only the binary ?
also, if pocible, a semple web page to host it
thanks my friend!
Sebastian Heib a �crit :

···

Hello Meftah,

yes it is theoretically possible.

But there are some changes that are necessary, especially in the UI
bundles (so that the painting is done in the applet panel, and not in
its own panel)

I've done this some time ago as part of my thesis (it's written in
German, so I think it is not really useful for you). There should be
some posts about it (and also some patches - be aware they are outdated,
but they should give you an idea of what is necessary to get it run in
an applet) on the dev list. If you search the dev list for "applet" you
should find it.

Some warning (at least for running on linux): if you run SC as an
applet, and you leave the page the applet is on, not all threads stop
running. This causes some sound resources to be still allocated by the
java runtime, and it is not possible to start the applet again with a
properly running sound system.

Much easier than running SC as an applet, is to run it as a WebStart
application, as you don't have to do any code changes. You only need to
write a jnlp file, a custom startup class (that handles the (remote)
bundle loading) and pack all jars together to a fat jar (this is not
really necessary, but makes starting the app MUCH faster). In this case,
it is MUCH easier to upgrade to a newer SC version, as you can just use
the code from the svn and only need to adopt your jnlp (and your fat
jar, of course).

Sebastian

Meftah Tayeb schrieb:
  

Hello to All Sip-Communicator Users
please is it pocible to host the SIP-Communicator JAVA Project a a JAVA
Appelet ?
thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#4

Hello,

Meftah Tayeb schrieb:

hello,
thank you for your fast responce!
awesome!
please, is it pocible to mail me only the binary ?

I am sorry - no, as the code I have left is mixed with some other stuff
to extend the SC application (it just wouldn't run, and I don't have the
time to make it run)

also, if pocible, a semple web page to host it
thanks my friend!

Have a look at this posting on the mailinglist:

https://sip-communicator.dev.java.net/servlets/ReadMsg?listName=dev&msgNo=3214

It contains a patch to run SC as an applet and it also contains an
example html file (as a zipped attachment).

Sebastian

···

Sebastian Heib a �crit :

Hello Meftah,

yes it is theoretically possible.

But there are some changes that are necessary, especially in the UI
bundles (so that the painting is done in the applet panel, and not in
its own panel)

I've done this some time ago as part of my thesis (it's written in
German, so I think it is not really useful for you). There should be
some posts about it (and also some patches - be aware they are outdated,
but they should give you an idea of what is necessary to get it run in
an applet) on the dev list. If you search the dev list for "applet" you
should find it.

Some warning (at least for running on linux): if you run SC as an
applet, and you leave the page the applet is on, not all threads stop
running. This causes some sound resources to be still allocated by the
java runtime, and it is not possible to start the applet again with a
properly running sound system.

Much easier than running SC as an applet, is to run it as a WebStart
application, as you don't have to do any code changes. You only need to
write a jnlp file, a custom startup class (that handles the (remote)
bundle loading) and pack all jars together to a fat jar (this is not
really necessary, but makes starting the app MUCH faster). In this case,
it is MUCH easier to upgrade to a newer SC version, as you can just use
the code from the svn and only need to adopt your jnlp (and your fat
jar, of course).

Sebastian

Meftah Tayeb schrieb:
  

Hello to All Sip-Communicator Users
please is it pocible to host the SIP-Communicator JAVA Project a a JAVA
Appelet ?
thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

--
/**
* Sebastian Heib
* Software Developer
*
* Synyx GmbH & Co. KG
* Business in Components
* Karlstr. 68
* 76137 Karlsruhe
*
* phone +49(0)721 66 24 866
* fax +49(0)721 66 48 877
* eMail heib@synyx.de
* www http://www.synyx.de
* irc irc.synyx.de
*
* Sitz der Gesellschaft: Karlsruhe
* Registergericht: Mannheim
* Handelsregisternummer: HRA 4793
* USt-IdNr.: DE249264296
*
* Komplement�rin: Elatech Verwaltungs GmbH
* Sitz der Gesellschaft: Karlsruhe
* Gesch�ftsf�hrer: Markus Daniel
* Registergericht: Mannheim
* Handelsregisternummer: HRB 7250
*/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net