Migrating from Seam 2 to Seam 3 - seam

I have some experience with seam 2, and now I am trying seam 3, but I notice there are a lot of differences.
I would like to know if there is some kind of tutorial or blog post to read for someone who is migrating from seam 2 to seam 3, like me. I already found http://seamframework.org/Seam3/Seam2ToSeam3MigrationNotes, but that is way too short...
regards...

Migrating from seam 2 to seam 3 is very painfull process in most cases worth no effort. Firstly you must find someone, who does not know that it is impossible thing and then pray that he will not notice this.

No there is no migration guide yet. The Seam team is working on it.

Related

Spring 4 MVC Resteasy

I am looking for a sample project with these requirements [Spring 4 MVC with resteasy]. But i couldn't find any solution with those requirement. Any idea about that should be helpful for me.
I googled "Spring 4 MVC with resteasy", and there are a lot of useful links !
resteasy-spring
resteasy-spring-integration-example
I hope these link help you.

is it the right way to do the project with asp.net mvc 4 and stored procedures?

Can you please spend ur time 4 this and help me as it is a big project if we do mistakes noe we will repeat the same mistake in next 3 years.
we are starting a new big project in asp.net mvc4, Html5 and CSS3 (We preffer these Because our application should target tablet, desktop, mobile).
So I feel bec its new we can better start with code first approach(latest) like first creating classes and prepare db(sql express) and deploy well and also we have support of EF migrations, So I think that way the proj become more successful and maintainable easily.
But the small concern with the manager, I dont know whether he is correct or iam wrong bec he has good experience in working but he is also new to MVC. below is my query ive explained pls look into this,
-Database with tables are ready.
-Now we have to start the project. (I think we can do code first reverse engineering and start)
But, For that our manager asked our team to prefer and write stored procedures, and use asp.net mvc 4?
My question is, is it the right way to do the project with that combination? Why am asking you is I have been watching videos/tutorials through online they never said the samples with that combination and all are saying with out using stored procedures, is it any problem like performance we will not get as we are using storedprocedures through EF OR because we are using stored procedures in backend we will get performance and maintaing easily as our PM says,
Iam totally confused???? please help me in this if you have solution.
There is no any issue using stored procedure in MVC, you can go for it. There would be worth reading this about your performance question.
If controller is not depended on the implementation of data access layer then no matter what you use whether EF or Stored procedure, you are good to go.
Darin Dimitrov already explain it about here.
That videos doesn't represend examples of using stored procedures, because they doesn't need stored procedures! All of results from SPs can be achived by EF easily and with much less effort and waisting times.
However, you should consider 3 things:
1) It seems that you all are new to EF. So, using EF is a potentially thechnical risk for your project!
2) Keep in mind that EF will cause some overhead to your app and if you're creating an app which works with huge data or should handle many requests at once, maybe it's better for you to keep going through SPs.
3) From the other hand, if you get familar with EF, it will dramatically progress your project fast and easy because of its useful abstractions and conventions.
So, first know your project, then deside which way you should go...

DoctrineExtensions (l3pp4rd) or EntityAudit (simplethings)

I need to implement Versionable Doctrine behavior on a Symfony 2 application.
It is really a Symfony 1 migration with Versionable behavior (Doctrine 1) already implemented.
I have found this two solution out there
DoctrineExtensions - loggable
EntityAudit
I really liked EntityAudit solution, because it is similar to Doctrine 1 Versionable behavior considering the output logged entities on db.
The point is that I think that project is not active.
Last commit was done 7 months ago. It uses some deprecated functions.
Am I right thinking that. Is there anything I am missing?
I would recommend Doctrine Extensions ...
As you already found out EntityAudit is not being maintained anymore.
Another point is DoctrineExtensions being more widely used. Though l3ppard is searching for someone to maintain the repository development is still quite active.
Therefore you will find more tutorials around the web, your updates should be less of a hassle and the chance of someone overtaking your project actually knowing what you used are higher.
If you want to use EntityAudit now (11/2017, v1.0.6), the documentation seems to be a bit out of sync, but it works, see GitHub ticket:
https://github.com/simplethings/EntityAuditBundle/issues/305#issuecomment-346630936

How do I get Tiles 2 to work with a Spring MVC 3 web app?

Is there some easy to follow tutorial for a Spring MVC newbie to add Tiles 2 to a very simple application? Heck, I don't really care if it's Tiles 2. I just can't stand copying the same JSP over and over.
I come from the Rails world where partials are dirt simple.
I basically just need a main.jsp file that contains sections that I can replace from other JSP's.
< rant >
Every tutorial I find lists what seems like hundreds of lines of XML and assumes I know what viewResolvers, ContextLoadListeners and JohnsonRods are. I realize I have a lot to learn. I'm proud that after only 3 days I got clean urls and annotated controllers working. But being a C# and Ruby developer, I'm finding Java web programming painful. (btw, my day time job is moving me to Java that's why I must suffer the pain..lol)
< /rant >
Thanks for any help.
Perhaps you should try Spring Roo,. The webapp generated by it uses Tiles2.
You could also see if this tutorial helps.
Closing this. I was told to use Struts 1 instead... :-/

Checkstyle for ActionScript (Flex)

HI,
I'm currently working on a project that uses Flex and Java. In Java we easily enforced a coding standard with Checkstyle, and we want to do this for Flex.
Does anybody know of a tool similar to Checkstyle that would allow coding standard checks?
(I've googled for this but found only one project written in python and it seams abandoned)
Thanks
The long and the short is that there is... kind of, but only for Actionscript, and you have to test it yourself... There is a prototype of an Actionscript 3 version, but it is not even in Beta yet (and I admit that I haven't had the time to test it). I haven't found anything similar for XML, let alone MXML. This is in at least one list of feature requests for Flex 4, however.
I'm working too on a project uses Flex and Java. Like you, in Java, we easily use plugins like checkstyle, findBug, javaNcss or PMD. My personal project is to do this for Flex. I have test the prototype 'checkStyleas3' but it just verify the code source en returns you 0 or -1 as result. So you will have (me too in fact), to implement this prototype if you want to do more than that.
Keep an eye on this : http://blog.joa-ebert.com/2009/05/20/as3v-preview/

Resources