cherlapalli_jailer Posted July 6, 2013 Report Posted July 6, 2013 [quote name='kiran karthik' timestamp='1373097258' post='1303924738'] guys help me in this issue plz I have developed a [b]r e p o r t[/b] [b]i n t e r f a c e,[/b] where generate report and download buttons are given(The page is developed in jsp). *When the user clicked on generate report it gets data from all the tables and do some computations (These operations are given in multiple projects, So the execution roams multiple projects) *The data will be sent to Queue server, the JMS is used here *After that the data will be given to jasper pdf generator So i need to trace the generation of report at all stages, the status maintenance. And i need to show this status as Percentage or green status bar in the starting jsp page.(It is very similar to download status bar in firefox) CAn anyone help how to do this? Thanks in advance [/quote] till the job is completed u need a progress bar? or simply rotating (some thing) as an indication that job is going on.. progress bar extra coding raayali. ..rotation of ur company logo will be simple
kiran karthik Posted July 6, 2013 Report Posted July 6, 2013 [quote name='cherlapalli_jailer' timestamp='1373112290' post='1303924905'] till the job is completed u need a progress bar? or simply rotating (some thing) as an indication that job is going on.. progress bar extra coding raayali. ..rotation of ur company logo will be simple [/quote] percentage kaani green color bar kaani ivvalanta
king420 Posted July 6, 2013 Report Posted July 6, 2013 [quote name='cherlapalli_jailer' timestamp='1373112290' post='1303924905'] till the job is completed u need a progress bar? or simply rotating (some thing) as an indication that job is going on.. progress bar extra coding raayali. ..rotation of ur company logo will be simple [/quote] Report generation ki Status bar aa? ee downloading 2 scenarios untai... 1) Click to open as PDF .....appudu general ga Please wait ani madhyalo % vastundi...idi konni default Frameworks like DOJO already untundi feature 2) Just like in google chrome...On Click it asks for destination folder to save....ee situation lo % progress bar ela chupistam??
kiran karthik Posted July 6, 2013 Report Posted July 6, 2013 [quote name='HAPPYNESS' timestamp='1373121492' post='1303925036'] Report generation ki Status bar aa? ee downloading 2 scenarios untai... 1) Click to open as PDF .....appudu general ga Please wait ani madhyalo % vastundi...idi konni default Frameworks like DOJO already untundi feature 2) Just like in google chrome...On Click it asks for destination folder to save....ee situation lo % progress bar ela chupistam?? [/quote] bt can you please tell me how to show %, do we need to calculate from pdf size? btw the pdf generates at queue server in jboss, how to get response from queue
innovative Posted July 7, 2013 Report Posted July 7, 2013 [quote name='kiran karthik' timestamp='1373097258' post='1303924738'] guys help me in this issue plz I have developed a [b]r e p o r t[/b] [b]i n t e r f a c e,[/b] where generate report and download buttons are given(The page is developed in jsp). *When the user clicked on generate report it gets data from all the tables and do some computations (These operations are given in multiple projects, So the execution roams multiple projects) *The data will be sent to Queue server, the JMS is used here *After that the data will be given to jasper pdf generator So i need to trace the generation of report at all stages, the status maintenance. And i need to show this status as Percentage or green status bar in the starting jsp page.(It is very similar to download status bar in firefox) CAn anyone help how to do this? Thanks in advance [/quote] KK what i understand is ... final output progress bar ravali .. for the time between user download button click and pdf generation... right ? madhyalo time depends on - data from tables, n at Queue server, n actual pdf generation at Jasper.. are you doing it from scratch . or already start chesava ... present your code bit here .. we can do from there ...
kiran karthik Posted July 7, 2013 Report Posted July 7, 2013 [quote name='innovative' timestamp='1373203603' post='1303927622'] KK what i understand is ... final output progress bar ravali .. for the time between user download button click and pdf generation... right ? madhyalo time depends on - data from tables, n at Queue server, n actual pdf generation at Jasper.. are you doing it from scratch . or already start chesava ... present your code bit here .. we can do from there ... [/quote] Yep, i had taken the existing code for generation, it goes to 4 different projects and calculates the data and finally sent to message consumer end. what the code to write da, itz nearly 3000 lines not possible, but tl me is der any way or api to get the response from queue server. Cuz queue works like a pipe, we push the data in one end and the response at the other end is unknown and unavailable.
innovative Posted July 7, 2013 Report Posted July 7, 2013 [quote name='kiran karthik' timestamp='1373205368' post='1303927664'] Yep, i had taken the existing code for generation, it goes to 4 different projects and calculates the data and finally sent to message consumer end. what the code to write da, itz nearly 3000 lines not possible, but tl me is der any way or api to get the response from queue server. Cuz queue works like a pipe, we push the data in one end and the response at the other end is unknown and unavailable. [/quote] MS message queue server ?
kiran karthik Posted July 7, 2013 Report Posted July 7, 2013 [quote name='innovative' timestamp='1373205639' post='1303927667'] MS message queue server ? [/quote] Java Message Service used, the Jboss server internally has Queue
innovative Posted July 7, 2013 Report Posted July 7, 2013 [quote name='kiran karthik' timestamp='1373205699' post='1303927670'] Java Message Service used, the Jboss server internally has Queue [/quote] oh okay .. JMS then JMS request-response template choodu .. if it helps .. sample code snippets kooda ichadu .. temporary queue create cheyyali anta .. [url="http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html"]http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html[/url][size=4] [/size]
innovative Posted July 7, 2013 Report Posted July 7, 2013 progress bars with swings [url="http://docs.oracle.com/javase/tutorial/uiswing/components/progress.html"]http://docs.oracle.com/javase/tutorial/uiswing/components/progress.html[/url]
kiran karthik Posted July 7, 2013 Report Posted July 7, 2013 [quote name='innovative' timestamp='1373205903' post='1303927680'] oh okay .. JMS then JMS request-response template choodu .. if it helps .. sample code snippets kooda ichadu .. temporary queue create cheyyali anta .. [url="http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html"]http://activemq.apac...e-with-jms.html[/url] [/quote] i guess this is gonna help me, i havnt cn the client class bfore, i vl go thru anyways thanks ya
innovative Posted July 7, 2013 Report Posted July 7, 2013 [quote name='kiran karthik' timestamp='1373206151' post='1303927687'] i guess this is gonna help me, i havnt cn the client class bfore, i vl go thru anyways thanks ya [/quote] np kk..
Jatka Bandi Posted July 7, 2013 Report Posted July 7, 2013 na taggara core, advanced java, j2ee NIIT valla certified course books vunnayi..... 7yrs back 12K pettti course lo join ayyi eppudu ppoledu.... evarikanna kavala? ninna parents illu clean chestunte padeyyali ante elano vundi evarikanna ivvala ani adigaru....
innovative Posted July 7, 2013 Report Posted July 7, 2013 [quote name='bantrothu bullabbai' timestamp='1373223268' post='1303928410'] na taggara core, advanced java, j2ee NIIT valla certified course books vunnayi..... 7yrs back 12K pettti course lo join ayyi eppudu ppoledu.... evarikanna kavala? ninna parents illu clean chestunte padeyyali ante elano vundi evarikanna ivvala ani adigaru.... [/quote] padeyyatam endhuku ... india lo vunnaya ..
Recommended Posts