aspose file tools*
The moose likes Beginning Java and the fly likes About MVC Concept on Java, How should i can apply the concept.Expect some example. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "About MVC Concept on Java, How should i can apply the concept.Expect some example." Watch "About MVC Concept on Java, How should i can apply the concept.Expect some example." New topic
Author

About MVC Concept on Java, How should i can apply the concept.Expect some example.

Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
hi java xperts,

Think you are doing well. But i am not at all coz of a little bit MVC problem . Let me explain.


I am staring and doing java very recently. I am a real fan of OOP and MVC. Now, I am in a trouble. Can you please discuss and ans this question?

I found out that, Everything is an object in java. But i feel trouble with inner class cocept when i gonna work with EventListener. When i am doing EeventListener i found out that, every example follow the inner class concept to follow the EventListerner. I actually can not like this concept because, When i handle the action with inner class, that will be a mix-up of MVC. So, if i wanna follow the MVC what should i do on this matter? Can you help me by an example please? I can not move foreword without solving this problem.


Can you please help with some example or any kind of documentation? If there is any book to follow MVC pattern on Java please mail me at it.codeperl@gmail.com. I will be very oblige to you, friend.


Best Regards
codeperl
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

You could do somthing like this:


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
What a coOl reply, friend!

"Any fool can write code that a computer can understand.
Good programmers write code that humans can understand." --- Martin Fowler

I really like the words.

ok, you give a nice idea and i am gonna take a try as you say.

Anyway, which editor you use for java coding? Have a nice day, friend.


Thanks
Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
Nice thing i learn today from you friend.

Can anyone suggest me any book of Java, J2me and j2ee from where I can learn professional quality MVC Pattern?
If So, Please inform me friend.

Regards
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 10915
    
  12

the mvc pattern is just that - a pattern. it can be used in ANY language, not just java. Granted, some languages may make it easier or harder to implement.

I'd recommend you get a design pattern book if you want to learn MVC, not a Java book. Check out the bunkhouse here for various recommendations.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
fred rosenberger wrote:the mvc pattern is just that - a pattern. it can be used in ANY language, not just java. Granted, some languages may make it easier or harder to implement.

I'd recommend you get a design pattern book if you want to learn MVC, not a Java book. Check out the bunkhouse here for various recommendations.



Thanks for your post. Ok, I am gonna do so.

Regards
codeperl
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
And please don't write coOl or coz or gonna.
 
Don't get me started about those stupid light bulbs.
 
subject: About MVC Concept on Java, How should i can apply the concept.Expect some example.
 
Similar Threads
I face some problem with any kind of jee framework. Think my learning process is not ok.
About Interfaces and Classes
HashTable
java not found or not working
Access Specifier of class: Guidelines to share..