Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Porting from PHP to Java - framework recommendations?

Im porting a project from php to java. The project is a web-app based on php and ajax techniques with a javascript front-end. What java-frameworks would you use for something like this?

like image 748
Silfverstrom Avatar asked Jul 05 '26 06:07

Silfverstrom


2 Answers

Does the result have to be written in Java, or does it just have to run on the JVM? In the latter case, you might want to consider Grails, which uses Groovy, a Java-based dynamic language that compiles to Java byte code and has full access to the Java standard API.

like image 74
Michael Borgwardt Avatar answered Jul 07 '26 20:07

Michael Borgwardt


How well do you know Java?

Why are you porting it?

I can't really tell based on your description, but there are lots of Java web frameworks out there. Pick one. I prefer Spring.

I fear that you're about to be very disappointed. I anticipate a lot of questions like "Why can't I do X in Java? It's easy in PHP!"

like image 28
duffymo Avatar answered Jul 07 '26 18:07

duffymo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!