₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,841 members, 8,513,954 topics. Date: Thursday, 05 November 2026 at 07:48 PM

Toggle theme

Candylips's Posts

Nairaland Forum › Candylips's Profile › Candylips's Posts

1 2 3 4 5 6 7 8 ... 572 573 574 575 576 577 578 579 580 (of 587 pages)

Romance › Re: Can U Be Inlove With Two People At The Same Time? by candylips(m): 1:59pm On Sep 15, 2006
i hear u grin
Romance › Re: Can U Be Inlove With Two People At The Same Time? by candylips(m): 1:15pm On Sep 15, 2006
from you posts i can see u r a playa smiley
Romance › Re: The Love Of A Woman! by candylips(m): 1:11pm On Sep 15, 2006
that was mean angry
Celebrities › Re: 2face And Face by candylips(m): 12:56pm On Sep 15, 2006
why is face better . has he had any awards for his singing. i think 2face is better sha
Celebrities › Re: Whitney Houston Divorces Bobby Brown by candylips(m): 12:55pm On Sep 15, 2006
this is really good news am happy she finally made this decision
Romance › Re: Can U Be Inlove With Two People At The Same Time? by candylips(m): 12:54pm On Sep 15, 2006
Coco cheesy
Health › Re: Medical Tourism In India by candylips(m): 12:52pm On Sep 15, 2006
thanks for the info
Dating And Meet-up Zone › Re: Aristo Needed by candylips(m): 12:50pm On Sep 15, 2006
who no like money grin
Education › Re: Most Expensive University In Nigeria by candylips(m): 12:44pm On Sep 15, 2006
but the private onces will steal the best lecturers form the fed univeristies. . .
Programming › Re: Looking For People Interested In Exploring JavaEE 5 And EJB 3.0 by candylips(m): 12:14pm On Sep 15, 2006
ok let me respond

@sbucareer


You see spring is cumbersome, look at the heavy object wrapping, application-xml, web-xml, object-xml configuration.

If you have used EJB, it would not involve all the heavy object relational mapping and brusque xml configuration. I wonder why people are running away from EJB? EJB 3.0 is even much easier using annotations.


Spring is very flexible. What mimih_mi did was just to use the robust JDBC template and map the resultset back to his model himself. Spring supports all the major ORM tools out there including Hibernate, Ibatis, TopLink ,etc.

He could easily have written this code in his DAO

List queryResults = getJdbcTemplate().query("select * from Personel", rowMapper);

To List queryResults = getHibernateTemplate().find("from Personel"wink;

once his mappy files are present. spring would automatically use hibernate instead of spring jdbc and let hibernate take care of the mappring for him.

I have used Hibernate extensively and i must say it is not very pretty to use especially if u have a very complex object relationship.

Considering configuration. yes you need to do some xml configuration. This is the sacrifice you have to make for flexibility.
Tell me how will u use annotations in a project were Java 1.5 is not used. My company for example have been very reluntant to migrate the production server to Java 1.5 and even if there do.  I cannot reuse most of the objects i have in ejb without a hell load of refactoring. But this is not the case with spring.

So the reason why some people are reluntant about E.J.B 3 is

1. Its not very flexible
2. The features it gives are not much when compared with what Spring has to offer.

However another beauty here is that you can use EJB within Spring. Spring has a lot of wrappers for your stateless and statefull beans.


Mimoh_mi, why are you using Spring? Is it a learning curve? Do you think it is easier to EJB? Anyway, your simple Personnel Object is quite big and you have not even write their transport protocol yet within the application server i.e. JMS or JNDI

Finally, I think I will learn spring for argument sake, so when I am arguing with someone about spring I would know what to say in my defense. I will stick with my EJB 3.0 and I heard another one is on the way, you know it only gets better.



You guys would be better off learning both spring and EJB and actually using it before making any judgment. Thrust me i have been a very heavy EJB user before but when spring came along i found out that i had less worries with my session facades and all those messy stuff.
Once you are confortable with it. Believe me you wouldnt want to use anything else. or you would want to use it within your Ejb application.
Personally the reson why spring is so attractive is that it forces you to write good quality code. Something which is very valuable when you are working on a large project and you have a lot of interdependences.



@mimoh_mi

Looking at your code. You usually create controllers based on actions you want tto perform. So if the new tables you are talking about would required for example CRUD actions you will need to create controllers for them. However when you get more confortable with Spring MVC. You can actually have just a controller and have differnt methods within it for different actions.

Spring WebFlow is an implementation of the continuations concept . It makes the web tier stateful thereby giving you the ability to manage workflows for very complex projects. It is built on top of Spring MVC . I 'll advice u have a good understanding of Spring MVC first before going into it. I have used it and its very cool what you can do with it

Hope i was able to answer your questions if not let me know
Celebrities › Re: Beyonce & Snoop Dogg In Nigeria by candylips(m): 11:48am On Sep 15, 2006
oh cry i cant make it
Dating And Meet-up Zone › Re: New In Abuja Looking For Female Pal by candylips(m): 11:47am On Sep 15, 2006
yes i guess they are cheesy
Dating And Meet-up Zone › Re: I Need A Girl-friend For Love by candylips(m): 4:24pm On Sep 14, 2006
i can hook you up. get in touch with me wink
European Football (EPL, UEFA, La Liga) › Re: Arsenal: Post- Match Analysis by candylips(m): 4:23pm On Sep 14, 2006
nonsense game
Romance › Re: My Girlfriend Is Always Suspecting Me! by candylips(m): 4:20pm On Sep 14, 2006
girls do that all the time especially when they are in love with you. you just have to assure her that you are faithfull to her and she would be fine smiley
Crime › Re: When Your Relationship Turns Into A Nightmare by candylips(m): 4:19pm On Sep 14, 2006
i will just move on with my life
Romance › Re: Im Really Confused About This Guy by candylips(m): 4:18pm On Sep 14, 2006
it would be very difficult for us to know what he is up to. he might really like you or he might just want to get laid. everything is up to him we can't tell you what is in his head but what i would tell u is that you should be very careful with him.

i guess its not only guys that wish they knew whats in womens head. its also vice versa too sometimes tongue
Education › Re: Most Expensive University In Nigeria by candylips(m): 4:13pm On Sep 14, 2006
wait ,  what makes federal universities the best. Their days are numbered when the new universities start attracting the best professors in the world and they start creating quality research. or better still attract the best professors from the fed uni now for there students
Nairaland General › Re: NEPA Failure Is A Good Thing by candylips(m): 4:06pm On Sep 14, 2006
boi there is nothing good about satying in the dark all night long with mosquitos creaming down you neck and biteing the hell out of u
Dating And Meet-up Zone › Re: Still Searching For My Better Half by candylips(m): 4:04pm On Sep 14, 2006
what are u saying dude

1 2 3 4 5 6 7 8 ... 572 573 574 575 576 577 578 579 580 (of 587 pages)