As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have intranet highly user interactive ASP.net applications, which now I am going to develop in Java as it is the requirement. I need to know what kind of java web frameworks should I use... full stack frameworks or MVC frameworks? I ll use jQuery, javascript, ajax and client and server side validation. Which framework is most suitable for my application? I need to know comparison of Glassfish, Websphere and Weblogic and any other application server. Which one is suitable for my web applications?
There is never "the best web framework" or "the best application server". Each framework and server has its pros and cons.
I highly recommend to give yourself an overview about the different Java web frameworks currently available.
Which web framework and which application server best fits your need really depends on your application. Again, there's no "best product".
Evaluate the web frameworks together with application servers.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've got bunch of applications in .NET technologies: desktop in winforms, web in ASP.NET. I will have also a webpage wirtten in JSF. All these applications work with the same database (or databases). My problem is that all these application connect to the database (or will connect) on their own.
I want to create a gateway which will have only access to database. Other applications (in .NET and Java) will use it to get data from database. And I'm wondering which technology will be the best, for .NET and Java.
I've have to tell that I don't have much experience with Java, so I need a little help on this.
You basically want to create a server that encapsulates your database. This server should be used from different programming languages.
Your goal should be to use a technology that is easiy usable in these different languages.
A web-service - either using SOAP or being RESTful - comes to mind here.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Good day. I'm developing a website with the database which is going to be hosted in the cloud using Spring/Hibernate bundle. I also need to develop a desktop application that would be able to manage the remote database. I'm stuck choosing the appropriate method of implementing remote access. JAX-WS, RMI, Spring HttpInvoker or any other method? Which should I choose and why?
I'd choose JAX-WS/SOAP for this particular task.
Unlike binary protocols such as RMI, it goes easily over corporate proxies and firewalls. It has security mechanisms (WS-Security), transaction and session support which I believe is important for database remote management.
It also has better tooling/IDE support than any other remote access method/API/framework.
Create a service layer above dao layer and make it WS. Call WS from your web application and desktop application for using your db actions.
Despite valuable answers of my predecessors, I would like you to analyze how complex system you are bulding and how many environmentally different clients such system would have. I mean, if there would be other applications, written in different technologies than Java involved in it. If it is so, the best solution is JAX-WS. Web services are standarized and can be used among various evironments, not only Java EE. But if you are going to build some very specific system used only by your applications, RMI should be enough.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to create SOAP web service without using some web server(apache, jetty, ...).
javax.jws.WebService seems best option, but I know how it work in production mode.
Someone using javax.jws.WebService? It will be work with 100 online users?
Maybe some advise about other web service options?
Thanks!
It can easily support 100 users, rather you will need to make it support 100 users ;)
You can implement the webservice without webservers but then you will end up coding all the features that the webserver's provide to you like:
-- Multiple request processing or scalability
-- Authentication, authorization, auditing.
I you could tell me why do you want to hand code the webservice platform it would be helpful.
Some WebServers can run in embedded mode (jetty for example).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to code a server daemon application that provides some backend functionality. I'd like to stick to Java since I'm pretty familiar with this language and I figure it'd be much easier to just dig into a new framework and not a new language in parallel.
So far I found many promising frameworks, but all of them resemble somehow a webserver. Thing is, I don't want to code a web-application in terms of web-sites so I doubt that I'll need all the webserver-functionality such as templates and this stuff.
What would be a good suggestion for this purpose or would using a regular web-framework such as "play" without the template-stuff be the best choice?
JAX-WS is a standard for creating SOAP web services. Wikipedia link to see what it is about.
For RESTful you would need to make http requests, usually get and post and this type of service works best if you develop a website. From what I understand you don't want this, but still if ever just check the spring framework.
Raw TCP/IP is so much harder and unless you know exactly what you want (performance and optimization wise) you`re better off using a framework.
A webserver is used to implement webservices. A webserver may serve more than html to clients.
I have a personal "stack" using for a long time that is Jetty + RESTEasy and it serves no html at all (only XML and Json).
Javascript + Rest (Glassfish + Jersey for rest). Glassfish – Java EE Full profile certified reference application server (server will used for REST host).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What are the factors in deciding framework to choose ,technology for a web application .any architect please provide a guidance.
Target devices - If your application needs to run on mobile devices, then your application needs to be lightweight on the client side (not too much complex javascript, light DOM structures...)
Visibility - Should your application's content be indexed by search engines? If yes, then you have to remember that for example AJAX and Flash based solutions won't be indexed (workarounds exist).
Usability - If your application needs a high usability, then you should consider creating desktop like applications - in other words, a Rich Internet Application (RIA)
Security - No matter what you answer on the previous points, you have to remember security. Using client centric solutions (business logic written in client code (eg. javascript)) are a major security risk. Remember that I only talk about the security of the architecture. No framework will give you security for free, ultimately, the level of security is always up to the developers.
Skill of the team
Familiarity with the similar frameworks
Power of the framework
Ease of development
Scope of the project. I mean what you need, or will need, what it offers, or not.
Community support, Books
requirements of the projectrestrictions of the environmenttime frame of the projectprevious foundational codecurrent abilities of team