Author

Topic: Bitcoin with JSP (Read 803 times)

sr. member
Activity: 392
Merit: 250
August 09, 2015, 05:22:35 AM
#6


Thanks man, this was the answer I was looking for.
I'll contact you maybe if ever I need some help.

Thanks,
Jm Erestain
[/quote]
Though I was thinking that jsp and js are the same however congratulations for getting what you need as fast as possible.
hero member
Activity: 508
Merit: 500
Jahaha
August 09, 2015, 12:58:38 AM
#5
Use a Java library and use business-level logic. Calling bitcoin related functionality in the UI layer with JSP seems absolutely wrong.
legendary
Activity: 854
Merit: 1000
August 08, 2015, 07:46:33 PM
#4

JSP and JS are completely unrelated. JS (javascript) runs on the client side in browsers and on the server side in NodeJS and one of the Java scripting JSRs. JSP, or Java server pages, are based on a language called Java (not the same as Javascript).

However, consider bitcoinj. If you have hosting that doesn't overly restrict you and you can open arbitrary network connections (both outbound and inbound) and store files to the filesystem, you should be able to use it. It will actually perform block and txn verification, and can operate in SPV mode (no need to download entire blockchain, but slightly less secure). I have some experience with it, so I can help if needed.

However, I would advise not trying to do bitcoinj stuff in JSPs. Use a ServletContextListener to start bitcoinj's network and verification threads to perform tasks asynchronously.

Thanks man, this was the answer I was looking for.
I'll contact you maybe if ever I need some help.

Thanks,
Jm Erestain
sr. member
Activity: 392
Merit: 268
Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ
August 08, 2015, 02:43:07 PM
#3

JSP and JS are completely unrelated. JS (javascript) runs on the client side in browsers and on the server side in NodeJS and one of the Java scripting JSRs. JSP, or Java server pages, are based on a language called Java (not the same as Javascript).

However, consider bitcoinj. If you have hosting that doesn't overly restrict you and you can open arbitrary network connections (both outbound and inbound) and store files to the filesystem, you should be able to use it. It will actually perform block and txn verification, and can operate in SPV mode (no need to download entire blockchain, but slightly less secure). I have some experience with it, so I can help if needed.

However, I would advise not trying to do bitcoinj stuff in JSPs. Use a ServletContextListener to start bitcoinj's network and verification threads to perform tasks asynchronously.
sr. member
Activity: 392
Merit: 250
August 08, 2015, 08:38:27 AM
#2
I'd like to know if there are any libraries I can use for JSP and Bitcoin? Working on a project and I was hoping for work to be light

Regards,
Jm Erestain
Is this website helpful http://bitcoinjs.org you can see the thread here https://bitcointalksearch.org/topic/bitcoinjs-packed-for-meteorjs-1126361
legendary
Activity: 854
Merit: 1000
August 08, 2015, 07:47:35 AM
#1
I'd like to know if there are any libraries I can use for JSP and Bitcoin? Working on a project and I was hoping for work to be light

Regards,
Jm Erestain
Jump to: