Bitcoin Forum
May 01, 2024, 10:20:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin with JSP  (Read 787 times)
Emerge (OP)
Legendary
*
Offline Offline

Activity: 854
Merit: 1000



View Profile
August 08, 2015, 12:47:35 PM
 #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
1714558843
Hero Member
*
Offline Offline

Posts: 1714558843

View Profile Personal Message (Offline)

Ignore
1714558843
Reply with quote  #2

1714558843
Report to moderator
1714558843
Hero Member
*
Offline Offline

Posts: 1714558843

View Profile Personal Message (Offline)

Ignore
1714558843
Reply with quote  #2

1714558843
Report to moderator
1714558843
Hero Member
*
Offline Offline

Posts: 1714558843

View Profile Personal Message (Offline)

Ignore
1714558843
Reply with quote  #2

1714558843
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714558843
Hero Member
*
Offline Offline

Posts: 1714558843

View Profile Personal Message (Offline)

Ignore
1714558843
Reply with quote  #2

1714558843
Report to moderator
1714558843
Hero Member
*
Offline Offline

Posts: 1714558843

View Profile Personal Message (Offline)

Ignore
1714558843
Reply with quote  #2

1714558843
Report to moderator
1714558843
Hero Member
*
Offline Offline

Posts: 1714558843

View Profile Personal Message (Offline)

Ignore
1714558843
Reply with quote  #2

1714558843
Report to moderator
noel57
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
August 08, 2015, 01:38:27 PM
 #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://bitcointalk.org/index.php?topic=1126361.0

hexafraction
Sr. Member
****
Offline Offline

Activity: 392
Merit: 259

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
August 08, 2015, 07:43:07 PM
 #3


Is this website helpful http://bitcoinjs.org you can see the thread here https://bitcointalk.org/index.php?topic=1126361.0

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.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
Emerge (OP)
Legendary
*
Offline Offline

Activity: 854
Merit: 1000



View Profile
August 09, 2015, 12:46:33 AM
 #4


Is this website helpful http://bitcoinjs.org you can see the thread here https://bitcointalk.org/index.php?topic=1126361.0

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
ed_teech
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Jahaha


View Profile
August 09, 2015, 05: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.
noel57
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
August 09, 2015, 10: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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!