Kapalı

update little java program

My budget is U$ 100 . At the end you will have to deliver the updated [login to view URL] file and the source code updated in bit bucket.

Today I have a java jar named [login to view URL] that opens a jasper report.

I call this java class from my windows exe with a command line like this ( Im runing with jre1.8.0_144 ) :

[login to view URL] [login to view URL] report_file_name dbpassword > [login to view URL]

the 2 arguments, report_file_name and dbpassword are used to open a connection to the database and open the jasperviewer.

This is working perfect.

The problem is that every time I run this command line, I guess a new JVM is open, that cause and overhead to open the report.

instead of that, my idea is to create a tcp/ip server + client solution, where the server is the java program you will develop and the client is my exe.

I will first open the server with the parameter portnumber and also include > [login to view URL] so all outputs will be store in the log file.

below are the functions I need to be implemented in the server:

- the java server has to be always runing, can not be closed after the report is closed.

- the java server will be started with a parameter that is the tcp/ip port number that will be set to be listen

- the java server has to run only one instace of itself on the current windows user. In the case we are running in a rdp enviroment each user could have a different tcp port to connect ( Im not sure if this is necessary, any way the definition of the port number is not in the scope of this project, you will just read the parameter and list to that port )

- the java server need to listen to this port and answer the following 2 commands :

1 ) are_ you_alive , returns "yes". I will send first this command to know if the java server is running, in the case is not running I will just open it.

2) open report_file_name dbpassword Use this 2 parameters the same way are used today to open the jasper report

- even when a report is already opened, the server has to able to open more reports without closing the already opened reports.

- has to run on 32 and 64 bits

- dont need a user interface

I will upload the current source code to bit bucket so you will need an account to pull and push it.

below is the current main function source code :

package abrirrelatorio;

/**

*

* @author Marcos

*/

public class Main {

/**

* @param args the command line arguments

*/

public static void main(String[] args) {

try {

long t0 = [login to view URL]();

String strRelatorio = args[0]; //

String strSenha = args[1] ; // //

String strCaminhoJasper ; //folder of the report

String XMLPath ; //xml file with parameters used in the report

//log

[login to view URL]("Relatorio: " + strRelatorio);

//lib folder

SubDiretorio subdir = new SubDiretorio();

strCaminhoJasper = [login to view URL]() + "\\relatorios\\" + strRelatorio;

//log

[login to view URL]("Caminho relatorio: " + strCaminhoJasper);

XMLPath = strCaminhoJasper + ".xml";

//new reports

VisualizaRelatorio visualizarRel = new VisualizaRelatorio( strSenha);

//change xml into map to be used in the report

XML2MAP parameterMap = new XML2MAP();

//open report

[login to view URL](strCaminhoJasper, [login to view URL](XMLPath));

[login to view URL]( "Tempo de processamento (s) : " + ( [login to view URL]() - t0 ) );

}

catch ( Exception e ) {

@SuppressWarnings("unused")

WarningDialog wd2 = new WarningDialog("Main :" + [login to view URL]());

[login to view URL] ( "Main :" + [login to view URL]());

}

}

}

Beceriler: Java, Yazılım Mimarisi

Daha fazlasını gör: java program can read emails, sort read text file java program, java program read emails pop3 server, java programs with source code, object oriented programming examples java, java tutorial, java programming examples, simple java programs for beginners, java programming, java programs examples with output, list of java programs, java program read display examination results students, designing java program read modify xml file, simple java program read list exam scores, auto update java program, can java program read email, java program read youtube rss, java program can read simulink model, read simulink model java program, create java program read send data website

İşveren Hakkında:
( 34 değerlendirme ) São Paulo, Brazil

Proje NO: #18027450

Bu iş için 38 freelancer ortalamada $104 teklif veriyor

wizard2015

Hello, I am experienced programmer, I have Bitbucket account, I have read your job description and I think this is something I can do. Please let me know if you are interested in cooperation.

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(70 Değerlendirme)
6.3
polarjin2017

Hello? How are you? I have good skills in So I can complete your job in time. Hope to work with you. Thank you.

in %bids___i_period_sub_35% gün içinde155%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(66 Değerlendirme)
6.4
kapasiyash

Hello there I am expert in java with 5+ years of experience. I can do this task as per your requirement. Lets discuss more over PM Looking forward for your reply. Thanks

in %bids___i_period_sub_35% gün içinde133%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(43 Değerlendirme)
6.1
indiasofttel

Hi, I have good experience in java development and i reviewed your requirement it's looking good to me and i will develop this project in less than your budget . Please start the chat so i can do the development . Daha Fazla

in %bids___i_period_sub_35% gün içinde87%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(72 Değerlendirme)
6.2
sysdesigner13

Hi, bro! I've read your requirement. I have rich experience with Java programming. I have finished many projects like this. I'm confident in your project and I promise to do your project in time. Hope your kind Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(62 Değerlendirme)
5.7
usmanshery

hello i'm software developer with 4 years experience in java programming. please share the link you have mentioned.

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(96 Değerlendirme)
5.8
dipakjadhav08

Hello, I have 9+ years experience in java application development. I will do this [login to view URL] message me for further discussion

in %bids___i_period_sub_35% gün içinde155%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(81 Değerlendirme)
5.4
luiswilliam

Hello, I read your project description posted. I am a Java expert and have plenty of experience of it. However, I'd like to discuss more detail with you now. I am free to work now. Kindly send me a chat..,;' Look Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(12 Değerlendirme)
5.3
deytps86

Hello Its an interesting project. I am working in Java/J2EE technologies for 17+ years. I worked in Spring Framework/Boot, SpringREST using MediaType XML/JSON and URL Encoded and SpringData/Repository using MySQL, Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(26 Değerlendirme)
4.9
atulamol

Hello, I have More than Five years (5+ years) of experience in Professional Software Development. Seeking for a challenging position as a Java Developer with the strong working experience in programming, designing Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(24 Değerlendirme)
4.5
ashamansky

Hello, As I understood your server app should generate jasper report and client just submit data for it. If I’m correct then why don’t you want to move responsibility to show report to client as an exported pdf or some Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(21 Değerlendirme)
4.5
yashika1588

I and my Husband work as a team and we have 14 years of combined experience. We are pretty sure that the work will be done faster yet preserving the code and functional quality. We have a very good experience in the s Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(2 Değerlendirme)
3.7
ownmyserver

Hello Friend, We have 4+ year experience in design and development of Websites and Mobile Applications. We have relevant experience to your requirement. We can do your project. We have expertise in developing Appoi Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(10 Değerlendirme)
3.9
p4logics

Hello Sir, We are perfect in desktop app development using java,oops,javafx,swing and awt AND expert in web development using J2EE, Servlet,JSP and all advanced framework like Struts, Spring MVC, Spring boot, and Sp Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(13 Değerlendirme)
4.3
joerndyherrn

Dear customer, I recently developed a system which has a similar structure like yours. A client runs a command which is sent to the server which then work therefore. This is a good balancing of the produced load. Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(3 Değerlendirme)
3.8
NaumanTariq94

Hello sir. I have good java expertise and i would like to work on your project. Feel free to contact me. Thanks

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(7 Değerlendirme)
3.4
mukesh30march

hi i read all the instruction and please share more detail i have done 3 similar project i will provide 5 star rating work

in %bids___i_period_sub_35% gün içinde88%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(15 Değerlendirme)
3.5
mallicckk

Hello. I'm Senior Java Developer with 10 years of experience. And I willl be glad to help you! I can write the simple server, using Spring Boot Framework, for example. It will be REST. I will show you how to easy a Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)
1.9
Gog1nA

I am ready to make that project , I am skilled Software java developer and I can make what are you asking for, contact me

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)
2.0
miguelo

Podemos facer um pequenho servidor web e uma aplica¢ao que chame o servicio e retorne o pdf. Voce tem os dos mensagens: curl http://ip:porto/voceEVivo retorna ok curl http://ip:porto/ouvrirReporte?nome=NOME_R Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)
1.7