How to setup Connectivity between the web component and java app
<p>I am confused about the approach for application that am writing. I have developed the application jar and will be distributing via java webstart.</p>

<p>Now i need to putup a website supporting my app.</p>

<p>doubts i have</p>

<p>1)Can i pass this username and  password to the jar that i will be launching?</p>

<p>2)Can the webcomponent calculate the time for which the app was launched.</p>

<p>Basically i need to understand how will the webcomponents and my java app interact with each other in terms of any data required to pass to the app and any info retreaving from the app and putting on the web.</p>

<p>Thanks
Krisp</p>

<p>I want to pass arguments like username to the JNLP and then want to pass it to the main class.</p>

<p>Is there any direct way to do so rather than use database?</p>

<p>since JNLP is just an xml file. I could not find a direct way to do so.</p>

<p>Can i anybody refer me some working code example.</p>
