Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to develop an online credit card payment system in java

 
laks nair
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there i am a java programmer

i am developing online credit card payment for a site that sells products .can you please advice me on the following
[color=darkred][color=darkred]1.which server to use:-tomcat 5.0/jboss.i have worked only on these 2 servers.2.should i use EJB's for transactions or just normal java classes would do[/color]3.how should i deal with the socket connections? i have no idea about these things .4.how i get the API's to validate credit card numbers and check for failure or success.[/color]

thanks for any help.

with best regards,
lakshmi.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you signed up with a payment processing provider yet? There is no standard Java API for that, so the proprietary API of whichever one you work with determines some of this.

Other than that, I wouldn't think that the decision between Tomcat and JBoss, and whether or not to use EJB, depends in any meaningful way on the choice of payment processing company.
 
laks nair
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:Have you signed up with a payment processing provider yet? There is no standard Java API for that, so the proprietary API of whichever one you work with determines some of this.

Other than that, I wouldn't think that the decision between Tomcat and JBoss, and whether or not to use EJB, depends in any meaningful way on the choice of payment processing company.


thanks for the reply..i haven't yet signed up with payment provider..if any of you can suggest a good one it will be helpful.t]rearding the server i ma yet to start developemnt .so i wanted to know which would be a better one jboss or tomcat 5.0 from my perspective for this kind of application.
 
laks nair
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
is it necessary and safer to use EJB's for online money transactions or a servlet page is sufficient to direct the data from server to payment processor.what do you suggest .is jboss a stable server than tomcat.

thanks in advance.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't that exactly what we talked about here?
 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Laks,

There really isn't a clear-cut answer to the questions you are posing. Ultimately, a lot of it comes down to personal taste.

I find that using a commercial/open source Java EE 5 application server like JBoss, GlassFish or WebLogic with EJB 3 is a lot easier in terms of a learning curve and configuration (perhaps also using Seam). The customers who choose Tomcat (perhaps with Spring) often have a very strong open source bend, create their own frameworks/APIs, want flexibilty and create their own solution stack (perhaps with iBATIS, Quartz, Spring JDBC, AspectJ etc). I also have customers that integrate EJB 3 with Spring on a full-scale Java EE application server where they need Spring features while leveraging container features/simpler application configuration. As mentioned, it is also possible to use EJB 3 with Tomcat utilizing OpenEJB (this is also surprisingly popular).

Hope it helps,
Reza
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic