Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 months ago.
Improve this question
Here are my current options.
.Net : Using WPF, Visual C#, SQLServer
Java : Using Spring, Hibernate, Enterprise DB, web-based
Can you suggest which one is better?, especially with regards to building complex forms.
Wow, .NET vs. Java, can't wait to see how this turns out ;-)
.NET might have the edge here with WPF and click-once deployment. WPF is in its second version and is showing itself to be quite powerful and easy to use. It provides excellent separation between logic and presentation (in XAML). Personally, I would much prefer a Windows application to web deployment because the programming model is so much more powerful and versatile (and better suited for complex forms).
I won't try to represent the Java viewpoint here, but Windows forms development in Java does not have a great reputation. Perhaps its unwarranted, I'd be interested to hear what Java programmers have to say. (UPDATE -- Swing is the technology I'm referring to here)
To some extent, this is a false choice, because those other technologies you list (Spring, Hibernate) are also available on the .NET stack (Spring.Net and NHibernate) and are quite mature. Most popular Java open source technologies have been ported to the .NET stack.
From that criteria flip a coin or use the one you know, for forms and basic applications they are basically the same.
If you are doing small business accounting software look at something like Peachtree of Quickenbooks, they have some level of customization. If you are doing medium to large company look at something like Netsuite or SAP, they have alot of customization.
.Net is better. Java runs slowly on client machines. Java is best for server oriented tasks.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I read about ServiceStack.NET and really liked it a lot (especially the fact that it is based on a messaging paradigm and implements the Data Transfer Objects pattern).
I would like to know if there is any framework for Java that comes close to what ServiceStack provides for .NET? Alternatively, do you know of any Java framework that can interwork with ServiceStack?
I am especially interested in the below features that ServiceStack.Net provides:
Metadata pages for all registered formats With links to WSDLs, XSDs
Support for JSON/JSONP, XML, JSV, CSV and SOAP on all end-points
And although I am looking for a framework that provides the above features on the JVM, I would also be interested in one of these platforms because I suspect that they could be used as intermediaries for interworking with the JVM world (i.e. the Facade pattern).
Python
Ruby
node.js
Disclaimer: I'm not familiar with http://www.servicestack.net/, however it seems to be a Web Application Framework built around Enterprise Integration Patterns (EIPs).
Apache Camel integrates with a lot of the services you mentioned and is also built around EIPs. A great place to start is #Claus Isben's Camel In Action book.
In case you just want to build a web application, try:
Many Java web applications are built with Spring to great success. It has a lot of the features you're looking for, and I'm sure there is a lot of documentation for the integrations you're looking for.
It seems like you're looking for a fully featured integration framework, but just in case you are looking for a much more lightweight approach, try Jersey, the JAX-RS Reference Implementation. It has WADL support out of the box with the sample application.
You can achive this by using Apache CXF and Camel transport for cxf. http://camel.apache.org/camel-transport-for-cxf.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm comfing from the .net world, and want a book that goes over the 'right' way of coding.
Things like dependancy injection, loosely coupling of objects, how to layout your web application properly, unit-testing etc.
Google code reviewer's guide, a 38 page pdf which covers writing testable code, loose coupling and dependency injection. The presentations are also highly recommended.
Dependency Injection covers the theory of why you would use dependency injection, in addition to the technical details.
Three books that are language-agnostic, but are considered 'classics':
Desing Patterns (by GoF)
Code complete (by Steve McConnell)
Patterns of Enterprise Application Architecture (by Martin Fowler)
Important: don't read them like belles-lettres - read parts of them while practicing.
While it does not cover some of the things you mention, for me the book to learn Java the right way is definitely Effective Java, Second Edition.
(source: sun.com)
Bruce Eckel's Thinking in Java is a very good introduction into Java for people who already know another language, the PDF version is free for download.
Read a few books if you want, anything "agile", "spring", "TDD" will do, but to be real quick, get a job where they let you work together with a seasoned developer who does pair programming with you... and you will learn more quickly than you can even think about it...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
For purely experimental reasons, and to learn about monitoring applications, looking for something with the following criteria:
written in Java
web application, runnable in a web container (tomcat). not using EJBs/JMS.
open-source
somewhat resource-intensive
using MySQL for DB
makes good use of logs (that is, writes to logs often and descriptively)
works fairly simple in EC2, i guess - what kinds of problem could be there? maybe usage of many ports?
The intention here is to be able to send it http query (or soap) requests and be able to significantly load it. Looking for some fresh ideas.
Thanks!
AppFuse is a Java web stack that meets all of these requirements (I don't know what you mean by resource-intensive, but you could always add your own functionality that is CPU-intensive, or I/O intensive, or whatever - or just put load on it).
Here is a link to the quick start guide.
Actually, since it supports multiple web frameworks (Spring MVC, Struts, Wicket, etc), one use case for your performance testing could involve testing with each one to compare different types of functionality.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Hoping that anybody here knows about a good one: I'm looking for a (free to use) C++ library with a class hierarchy and methods resembling the Java API, with at least the I/O & networking part if it, specifically HTTP handling.
I work mainly with C & Java, but for this particular project C++ is recommended, so I thought of adopting a good set of C++ libraries without facing a steep learning curve.
Thanks in advance for any recommendation.
Qt is IMHO very java like. I.e. they prefer Java-Style Iterators over the STL ones. Qt includes networking (examples) and much other stuff (like scripting via javascript)
Have you looked at the Boost libraries?
Boost.IOStreams provides a framework for defining streams, stream buffers and i/o filters.
Asio - Portable networking, including sockets, timers, hostname resolution and socket iostreams.
Many others....
The Boost libraries provide similar capabilities as compared to the Java API, but they very much 'look and feel' - appropriately - like a C++ library.
There is also the option of using something like POCO, which is slightly simpler than using something like Boost, while still being cross platform.
While the only time I used HTTP in Java was a long time ago, the interface for the POCO library looks fairly simple to use. It gives a example of basic FTP usage a something like this:
Poco::Net::FTPStreamFactory::registerFactory();
std::ofstream localFile(inputFile, std::ios_base::out | std::ios_base::binary);
Poco::URI uri(inputURL);
std::auto_ptr<std::istream> ptrFtpStream(Poco::Net::URIStreamOpener::defaultOpener().open(uri));
Poco::StreamCopier::copyStream(*ptrFtpStream.get(), localFile);
A C++ library that looked like a Java one would be a bad library, IMHO. The two languages are so very different that what is good design for one will almost inevitably be bad design for the other.
You can take a look at Mindroid, which is primarily oriented to embeddded programming:
Mindroid is an application framework (with focus on messaging and concurrency) that lets you create applications using a set of reusable components - just like Android. The name Mindroid has two different meanings. On one hand Mindroid is a minimal set of core Android classes and on the other hand these classes also form Android's mind (at least in my opinion).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm currently designing a Java application where a Rule engine could be useful. Where is a good place I can learn about how to use them, how they work, how to implement them, see samples, etc.?
The Drools documentation includes a lot of useful, general purpose information. Especially chapter 2, which covers rule engine basics, knowledge representation, etc. It also includes a nice recommended reading list for coming up to speed on rule engines and expert systems.
For most rule engines, a basic understanding of the rete algorithm usually comes in handy for writing efficient rules. I have personally found the Doorenbos paper referenced in the Wikipedia article to be the clearest technical explanation.
Also, here is a list of open source rule engines in Java.
You might want to read "Should I use a Rules Engine?" from Martin Fowler's blog.
I have worked on a project where we built our own (very simple) rules engine, with the intention to move to a general rule engine when things got too complicated. Never reached that point though, the system has been running happily with the simple homegrown engine for several years now.
I found this site pretty helpful. Are you looking at building your own, or using a 3rd party library?