I have performance problems in Grails 2.0. I'm wondering if groovy++ will help.
I don't believe you can currently use Groovy++ with Grails 2.x (docs).
A better approach would be to look where the problems are. Then determine a strategy to solve them. Randomly swapping out libraries or tools is unlikely to help. What kind of performance problems do you have (speed, memory usage)? Do you use some kind of logging or a profiler to see where in your application it is spending the most time?
Related
I whould like to know some opinions about OpenEJB: we are considering to use it on a new project, but really didn't found many opinions about it.
So, here is my question: how about it? Does it perform well? Is it stable enough for a production environment?
We switched to OpenEJB (deployed embedded in our app on Tomcat). Performance tests showed better or not worse results processing our transactions compared to JBoss (transactions include data access, JMS, and servlets). We use ActiveMQ within OpenEJB for JMS. There are no stability problems as of yet - we are still in staging (pre-production) environment though. The documentation is definitely lacking, but not as poor as other embedded choices. Overall, we consider this as a good choice if you run on Tomcat. Deploying it on other application servers turned out to be much more difficult (JBoss, Weblogic, Websphere) but there are not many reasons for this usually (we had few but dropped this after several attempts basically failed).
And as in all open source products: expect lack of support (documentation, troubleshooting, bugs, etc.) to be compensated by free access to sources.
We've had experience with Oracle OAS and JBOSS before. We decided to give OpenEJB a try. We've found out that it is not only very fast but it also much easier to setup and configure, and it has much better defaults.
Currently we implement our own failure measures in the client, so we don't know how they compare for clustering, or other advanced features that we don't use.
We we have to go back and deal with JBOSS in the developer side, we see a drop on productivity, because it takes too long to bootstrap.
I was reading these days about large projects implementation in python and Flex, and very often people praise the use of framework (like Cairngorm, PureMVC or others) over traditional OOP coding.
I think i dont really understand the advantage of using FW, which is the strong point over classic programming? how big should be the project in order to use FW? it is intended mainly for web-applications? or can be used for desktop apps as well?
hope, all these doubts dont sound stupid to you, i am not Computer engineer, just electronic, so my knowledge of sw architecture is very limited.
Br
Using a framework is not really any different from classic OOP programming.
When you write projects in a similar environment, you will probably see yourself writing a framework (or a set of tools) over and over again.
A framework is really just code reuse - instead of you writing the logic for managing a common task, someone else (or you) has written it already for you to use in your project.
A well designed framework will keep you focused on your task, rather than spending time solving problems that has been solved already.
I would add my 2 cents here, using a framework will also help a better organized collaborative environment too. Your team mates will get to know about the code easily if you are following a standard framework.
In enterprise applications using framework helps meeting the deadline and better code quiality.
Please suggest which tool should I use - QTP, RIATest, Selenium for Flex Application Functional Automation Testing. Please help me compare them with different advantages and disadvantages.
Any help appreciated.
The big picture is:
QTP - sophisticated, expensive, can automate almost anything, not just Flex applications, works on Windows.
RIATest - simple, inexpensive, designed specifically and only for Flex application, works on Windows and Mac.
Sorry, no experience with Selenium.
I don't have direct experience with it, but there is a Selenium Flex API available; since Selenium is free and open source, it's a great option if your budget is tight.
I do have experience with Selenium in general and can highly recommend it; it's relatively easy to learn and works on any platform with a multiplicity of browsers.
Recently I evaluated the above tools for our Orgnisation.
I say go with QTP. The configuring of qtp for flex is easy.
I wrote a hub about it.
http://hubpages.com/hub/Automating-Flex-Applications-with-QTP
Please ask questions if you have any.
Follow me n my hub
QTP does work with Flex apps...just have to have the right versions.
I was using Selenium to test Flex for a while, then Sun came out with a new plugin for Java in the browser with 1.6.14 I think it was, and I wasn't able to get it to work after that, though I admit its been quite a while since I tried.
I want to use ASP.Net on Linux because of license problems and costs. Can you compare its performance?
We coded a few asp.net applications and work well on windows server, can we migrate to linux + apache + mono without any changing? Framework version is 2.0.
You might be interested in this question:
Performance of ASP.NET in Mono(Linux) vs IIS(Window)
And here's the FAQ from mono on ASP.NET:
http://www.mono-project.com/FAQ:_ASP.NET
Last time I checked the port is not fully complete. Depending on how familiar you are with the language you may find that something is missing. Then you will deal with performance!
Well to run .Net on Linux you'll need Mono.
I don't really know about it's performance as I am not a big fan of .Net.
Also please reformat your question into something more formal.
'Coz' doesn't really make you look good.
You can take a look into this doc:
http://www.mono-project.com/FAQ:_ASP.NET
so you can check if all the stuff that you use in your app is implemented or not.
You can speed up things if you use mod_mono+apache.
I think you would need to give us more details. ASP.NET does not natively run on Linux. The only thing that I know of that can do this is Grasshopper. Given these details, and true answer could probably be provided
I work in Visual Studio working on sites mostly myself and occasionally I start on new features for a site and bam a bug pops up on the live site and now I am in the middle of changes and can't post a fix to the bug until everything I started to change is complete.
So I am looking for a nice an simple way to work with this type of situation - any suggestions?
Are you asking for a recommendation of a source control system? SourceGear Vault is free for single users.
I am big fan of subversion. There also plugins for VS to work with subversion repository.
http://subversion.tigris.org/
http://ankhsvn.open.collab.net/
I am in a similar situation and I use Perforce. It is free for up to two users and integrates well with Visual Studio.
Subversion is well supported and has tools for most any environment. It's also mostly straightforward to use, so you should be able to get up and running quickly.
If you need to work on a lot of separate features and bugs at the same time, you might try Mercurial instead. The tooling support is a lot less mature but I find the distributed design to do a better job of merging and facilitating work on separate issues concurrently.
But really, if you aren't using anything currently and aren't sure what your needs are, just choose one that has support in the IDE/tools you use. It will probably be Subversion.