Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

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

 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could do somthing like this:
 
Mohammad Ashrafuddin Ferdousi
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
lowercase baba
Posts: 12772
51
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mohammad Ashrafuddin Ferdousi
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Marshal
Posts: 66120
250
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And please don't write coOl or coz or gonna.
 
crispy bacon. crispy tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!