Remote database access architecture [closed] - java

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.

Related

What is Websphere? [closed]

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 9 years ago.
Googling this question returns lots of results with marketing jargon.
What I am looking for is a summary of what it does, more along these lines What is Maven?
This is the closest I could get.
"WebSphere" in the most abstract sense is a brand encompassing various products, so "a brand" is about as good an answer as you can get.
What one usually refers to when saying "WebSphere", though, is the WebSphere Application Server, which (as the name implies) is an application server - something that runs EJBs and other server-side Java technologies like servlets, JMS, etc. An example of another important player in this space is JBoss AS.
Finally, another possible definition of "WebSphere" is "its creator's biggest technology mistake" ;)
Unlike a regular web server which simply provides clients acces to html-documents, which their browser then displays as websites, an application server allows for programms/scripts to be invoked by requesting websites, which dynamically generate the websites.
In this case the scripts are written in Java. This allows for a lot of the apis provieded in Java to be utilised by your web-application (the website itself is simply the frontend of your webapplication)
So web sphere is an application server from IBM. Simple as that. This tells you what it can do.
Hope that helps.
WebSphere is an application server which supports a lot of advanced functions including load balancing, database connection managing, advanced logging options and many more.
On the other hand it introduces severe overhead, is difficult to administrate and one has to learn a lot to use it effectively. And more often than on other servers you find yourself in JAR hell. Been there.

Need to integrate web applcation with all major ERP and CRM systems [closed]

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 a web application which needs to interact with all the major CRM and ERP systems in order to send and receive data.
What according to you will be a better approach.
Design this whole logic inside the web application,maybe a component for each interface
Use a ESB.
Please suggest what will be the best approach to implement this, any other workarounds,designs are also welcome.
Web services were pretty much tailor-made to address the issue of communication and integration among many disparate systems, so it seems like that would be the most logical solution.
If you require ordered messaging, guaranteed message delivery, etc then an ESB is probably your best bet. Otherwise your web application should be able to integrate directly with the other systems via web services.
Finally, you will probably want to create components in your web application anyway to encapsulate the logic of each system (doing this now will help to ensure minimal changes are necessary if/when you replace one of the external systems). For example, for a recent integration with an accounting system I created interfaces and abstract classes to generalize the functions inherent to all accounting systems, and then created concrete classes that implemented that functionality for the specific accounting system I was integrating with at the time. The benefit to this is that if my client ever changes accounting systems in the future all I will need to do is create another concrete implementation - I will not need to rewrite the code in my client application.

Which Java Web Framework and Web Application Server to use? [closed]

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.

what is a good java framework for building server applications? [closed]

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).

Which Java based workflow engine should I use? [closed]

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 11 years ago.
I am looking for a off the shelf workflow engine to be used in my Java based web application. Following are my initial requirements -
The engine should have a nice UI to create/manage workflows.
Should work with Oracle database
Provides java api or web service api to interact with workflow from my application so that I can build logic on the workflow.
Ability to define custom business rules.
As of now I am looking at JBoss JBPM and Drools together. Do let me know if you have experience of this or other contenders which I should consider for evaluation?
You could try Activiti. I am personally experimenting on that. It's really easy to install and
use. It's similar to jBPM. So you would not have any difficulty if you are familiar to that.
You could also refer the comparison between them.
Hope this helps you.
yes i agree with you, jBPM is a flexible Business Process Management (BPM) Suite. It makes the bridge between business analysts and developer
and
drools is good and well manged rule engine , i recommend these both to use, but you will not have ready functionality like work with oracle database its individual functionality independent from this
I'd encourage you to check this list of Open Source Workflow Engines in Java
Scientific Workflows : Kepler, Taverna <--- these are both data intensive, and are easily distributable. They were designed to deal with genomics/planetary data, etc...
For business workflows, check out JBoss JBpm, which is transactional (i.e. its not optimized for massive computationally intense workflows, but rather, its written to support business workflows that need security, database transactions, etc.

Categories

Resources