₦airaland Forum

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

Stats: 3,344,839 members, 8,513,936 topics. Date: Thursday, 05 November 2026 at 07:19 PM

Toggle theme

Candylips's Posts

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

1 2 3 4 5 6 7 8 ... 556 557 558 559 560 561 562 563 564 (of 587 pages)

Celebrities › Re: Richest Man In Nigeria by candylips(m): 1:28am On Oct 22, 2006
people say its IBB
Politics › Re: Vocabularies Made Popular By Nigerian Leaders Erom 80s Till Date. by candylips(m): 1:26am On Oct 22, 2006
so you did not had the mother of all phrases. FELLOW NIGERIANS
Romance › Re: Can You Love A Married Man? by candylips(m): 1:25am On Oct 22, 2006
its very possible if you are blind
Travel › Re: Guinea-conakry: Road To Ruin by candylips(m): 1:24am On Oct 22, 2006
ok
Music/Radio › Re: Best Hip-hop Producers? by candylips(m): 1:20am On Oct 22, 2006
i'll pick Dr dre
Forum Games › Re: 'Versus' Game (vs) by candylips(m): 1:18am On Oct 22, 2006
Dbanj

biyibabe vs candylips wink
Fashion › Re: Sun Girl Feature In Sun Newspaper by candylips(m): 1:17am On Oct 22, 2006
jaybaby:
Glozzy lips uuuuuuuuuuuuuuuuuuuuuuuuuu tongue tongue tongue tongue
cool
Dating And Meet-up Zone › Re: Pictures Of Nairaland Members. by candylips(m): 1:16am On Oct 22, 2006
Donzman:
The guy's a homo, what guy uses candylips as their username?
what can i say . well it takes a homo to recognise a homo . . . . putka
Forum Games › Re: Questions And Answer (game) by candylips(m): 1:14am On Oct 22, 2006
no i think we can live together in peace
Forum Games › Re: Be The Last Person To Post Here: by candylips(op): 1:13am On Oct 22, 2006
na way na me get ground
Food › Re: A Quick Meal For You: Based On Noodles by candylips(m): 1:13am On Oct 22, 2006
IBB thanks for you tips. will try this one tommorow
Forum Games › Re: Give The Nairalander Above You A Pet Name by candylips(m): 1:12am On Oct 22, 2006
ibb
Dating And Meet-up Zone › Re: I'm Handsome But Have No Girlfriend! by candylips(m): 1:11am On Oct 22, 2006
na who should go and do assignment
Romance › Re: Why Do Some Women Date More Than One Man? by candylips(m): 1:10am On Oct 22, 2006
why dont you open a thread for this instead of hijacking someelse thread huh
Romance › Re: People Are Telling Me Dirty Things About My Girlfriend by candylips(m): 1:09am On Oct 22, 2006
teacher cheesy
Celebrities › Re: Who Would You Spend A Passionate Night With? by candylips(m): 1:06am On Oct 22, 2006
hehe
Celebrities › Re: Do You Know That Lemar Is A Nigerian? by candylips(m): 1:03am On Oct 22, 2006
so u know say him be nigerian
Celebrities › Re: Beyonce Considering Plastic Surgery? by candylips(m): 1:02am On Oct 22, 2006
huh
Celebrities › Re: Styl-Plus: Is Zeal Married? by candylips(m): 1:01am On Oct 22, 2006
na who dash you the guy
Dating And Meet-up Zone › Re: Pictures Of Nairaland Members. by candylips(m): 12:38pm On Oct 21, 2006
see them ugly niggaz
Romance › Re: Why Do Some Women Date More Than One Man? by candylips(m): 12:35pm On Oct 21, 2006
u never hear am.
Programming › Re: Looking For People Interested In Exploring JavaEE 5 And EJB 3.0 by candylips(m): 12:33pm On Oct 21, 2006
@bioye

No thats not me . .

Looking at your code i have a few observations. firstly its not very good if you have your database code mixed with your  controller code. What you should have done is to abstract out the database specific code into a DAO layer, inject the DAO into your Tapestry pages and then call the required method before then setting the page method.

Looking at your code well. it should work if you are just loading the values in a single table . but when you have a foreign key relationship with many tables e.g lets say your employer table has a 1 - many relationship with employee table , and maybe a 1 - 1 relationship with Department table.

When you run that query in your code Hibernate should automatically look for all the related tables and populate your object graph. This normally fails if you have lazy loading setup and u do not have a kind of Open-session-in -view pattern and tells  hibernate to load the next object graph when it is required most of the time at the view-layer.

This is because the Hibernate session with the database would have been closed by then. But i guess this shouldnt be a problem if you use Tapernate. i just had a look at it yesterday and you can set up the OIV pattern in Hivemind.
This is the same logic i use the only difference is that i manage my Hibernate sessions in Spring

@sbucareer

To add to what bioye has said. and to repeat what i have said earlier. EJB is good but using it would limit you to an EJB  way of doing things. EJB is only good for doing a truly distributed application but majority of projects do not really require this .
So why should you  use EJB in a project when you are not building a distributed applicaition that absolutely requires the sending of objects across multiple platforms ,.
Just to let you know,  Spring for example has a whole lot more features out of the box which EJB can nto even dream of.

i think i have said these in my earlier posts but the Dependecy Injection provided by EJB 3.0 is vey basic and crap compared to what you get  with Spring.

Also, To do EJB 3.0 you need Java 5.0 and unforntuately it is not every body that has the luxury of Java 5.0 in the production environment. However Spring is compatible with 5.0 and earlier versions.

Based on these two facts alone a lot of developers would definately go for something else other that EJB 3.0

Also for your information the fact that you use EJB doesnt mean you will earn more money. I have been in the UK job market for a while now and worked on a lot of contract Jobs with many companies and i can tell you with absolute fact that most Organizations  dont really care less about EJB.

Even Investment banks that create real-time distribtued trading software use a combination of C++ using Extensive CORBA with Just pure core java. Spring is also used extensively to help structure application code.

always try to get your facts right before you make comments please
Dating And Meet-up Zone › Re: I'm Handsome But Have No Girlfriend! by candylips(m): 10:00am On Oct 21, 2006
wetin u wan make i talk na. people have said it all innit cheesy
Celebrities › Re: Do You Know That Lemar Is A Nigerian? by candylips(m): 9:53am On Oct 21, 2006
yes he is definately nigerian
Celebrities › Re: Beyonce Considering Plastic Surgery? by candylips(m): 9:50am On Oct 21, 2006
cool

1 2 3 4 5 6 7 8 ... 556 557 558 559 560 561 562 563 564 (of 587 pages)