Are people using assemblers?

I've been working with flex for a couple of weeks now. The
application I'm writing is built on top of a EJB3 application.
I have number of entity beans in my system and they all have
relationships to each other. many-to-one, one-to-many, one-to one
etc.
Example:
class Group {
public int getId(){...}
public String getGroupName(){...}
public List<Member> getMember(){...}
class Member {
public int getId(){...}
public String getFirstname(){...}
public String getLastname(){...}
public String getUsername(){...}
public Group getGroup(){...}
In my EJB3 layer I have two session beans: GroupManager and
MemberManager.
The MemberManager looks like this:
interface MemberManager {
public Member getMember(int id);
public Member getMemberByUsername(String username);
public List<Member> getMembers();
public Member save(Member member);
public void delete(Member member);
....and a few more
Ther GroupManager looks similair
interface GroupManager {
public List<Group> getGroups();
public Group getGroup(id);
public void delete(Group group)
public Group save(Group group)
As far as I know there are two ways to write a flex
application for administrating my Groups and Members: RemoteObject
and Assemblers.
What I have read in the docs, assemblers is what I should use
for this kind of situations.
I would then write two assemblers: GroupAssembler and
MemberAssembler.
something like this:
class GroupAssembler extends AbstractAssembler {
GroupManager gm;
public List<Group> fill(List params) {
return aListOfGroups; (with or without it's containing
members?)
public Group getItem(Map idMap) {
id = idMap.get("id");
// ask the GroupManager for a group with the id read from
the idMap
return theGroup;
publiv void delete(....)
public Group createItem(....)
and the MemberAssembler would look soemthing like this:
class MemberAssembler {
List<Member> fill(...) {
return aListOfMembers
Member getItem(Map idMap) {
deleteItem(...)
createItem(...)
updateItem(..)...
Now, what about my MemberManager.getMemberByUsername().
In all examples I have seen and in all documentations I have
read I havn't found one single example describing this issue.
the AbstractAssembler's getItem(Map idMap) method is not
designed to let me implement that fuctionality.
Each assembler has ONE getItem() method and there is no way
for me to determine is the client asks for member by id or members
by username.
Have I missed something fundamental here? Is there a way to
have more than one getItem method or a way to implement the getItem
in a way so that it knows that the flex client is asking "by
username " or "by id"?
Another aproach to this problem to use RemoteObject instead
of assemblers but than I'd loose the other nice functionality
that I'd have to implement myself. Like
DataService.getItem(id, member) which instead of returning a new
instance of Member updates all properties of my member object.
I don't think my situation is unique and lots of other people
working with assemblers (if there are any) should have seen the
problem and hopefully solved it.
So my questions are: Is there a solution for my problem above
and are there any other people than me working with assemblers?
Regards
Jonathan

While there is no direct integration between Muse and Dreamweaver, they can be used together. From within Muse, you can both import and export HTML. So you can import HTML created in Dreamweaver, or export HTML to be opened and edited in Dreamweaver.
The only speedbump is that the code generated by Muse tends to be a bit messy. As a Muse software engineer puts it,
You can output HTML code from Muse at any time, so if you chose to edit it with Dreamweaver that is possible, though we don't optimize our code for human-readability - we instead focus on performance, SEO, accessibility and compatibility.
(Source)

Similar Messages

  • Are people using or incorparating dreamweaver with muse?

    Are people using or incorparating dreamweaver with muse?

    While there is no direct integration between Muse and Dreamweaver, they can be used together. From within Muse, you can both import and export HTML. So you can import HTML created in Dreamweaver, or export HTML to be opened and edited in Dreamweaver.
    The only speedbump is that the code generated by Muse tends to be a bit messy. As a Muse software engineer puts it,
    You can output HTML code from Muse at any time, so if you chose to edit it with Dreamweaver that is possible, though we don't optimize our code for human-readability - we instead focus on performance, SEO, accessibility and compatibility.
    (Source)

  • How are people using Catalogs?

    I know I asked this question some time ago, but I'd like to ask it again since I will soon be upgrading from LR2.7 to LR3.
    I would like some friendly advice from people how they use Lightroom Catalogs.
    I currently use several catalogs.  I have one strictly for day-to-day stuff where I might take shots of friends and family.
    I use another catalog which I use strictly for Photography Workshops I go on.
    Yet another one is one which I use strictly for the few professional photography jobs I have done.  I am not a professional photographer, but I have been paid for a few photo jobs.
    Still another is one which I use strictly for pictures from others.  I get a lot of pictures from relatives who wish me to edit them.  Notably, I get a lot from my mother, and many of those pictures are of family and friends, of her flower garden.  So I do like to keep them myself, but I do so in a separate catalog.... in order to keep them separate from my own pictures.  I get a lot of photos from a friend of mine whom I used to work with in Europe....and he is now sending me many pictures he has taken while working in Ghana.  I like to keep some of these in a catalog but for now, I like that to be a separate catalog then the one I do most of my work in.
    I would like to get some ideas from LR users how many catalogs they might use.  Do they separate their photos into different catalogs like I do?  Do they keep photos all in one big catalog?  Or perhaps do they just use a small number of catalogs.
    I do like the ability to keep separate problems, but the 2 main "problems" I have with doing this are as follows: 1)I some times I accidentally put pictures in the wrong catalog.  I usually catch this soon and merely have to do the process again, putting the pictures in the right catalog. and 2)As far as I know, I do not think you can search by keyword (tag) across multiple calendar.  This is not a big issue, but it would be nice to be able to search by keyword to get, for example, all of the pictures taken by me and my Mother of say, my niece.
    Any thoughts would be appreciated.
    Thanks for your input.
    Richard

    I know Lightroom doesn't care about the directory/folder structure.  But I care how that directory/folder structure looks in Lightroom.  Again, it's kind of hard for me to explain this, but from what I've seen, LR mimics the structure you have on your hard drive.  It works just fine, but I don't want it to mimic the folder structure I had before with LR 2.7.
    I'll try to explain, but, again, it's kind of hard for me to put into words without one actually seeing what I'm talking about.  My original folder structure on my hard drive was by year......2005, 2006, 2007, 2008, etc., each a primary folder.
    Within each year, I had folders with the date(s) as well as a brief description of what was in that folder.....e.g., 122509_Christmas_at_Mom_and_Dads.
    Within that same yearly folder (e.g. 2009), I also would have things like 042809_Kauai_Photo_Workshop as a subfolder.
    With LR 2.7, I organized things by Catalog.  So I had a Catalog for personal photos such as Christmas with my family; I had a separate photo for Photo Workshops  I had yet another separate Catalog for pictures my Mom sends me to edit.  And, I had a few other catalogs.  It was just my way or organizing groups of photos.
    My original post asked the question about how people use catalogs.....either single catalogs or multiple catalogs.  Yes, there were many comments about using keywords.  Based on the comments I had received, I did decide to combine all of my catalogs into one single catalog.
    Within that new single catalog, however, I still want separate folders showing "personal pictures," "pictures from Mom," "workshop photos," "photos I did for a professional job," etc.  That's just the way I like to organize things.  As I found out, if I create separate folders in LR in a single catalog like this, it also creates a corresponding folder on my hard drive.  Therefore, I have to move those pictures into that corresponding folder if I want to keep these separate folders in LR.
    One reason I like organizing things this way is that my Mom often will take similar pictures to what I take.  She'll take pictures of her grandkids that she wants me to "fix" by removing redeye, etc.  Because I'm not so sure she backs things up to the extent I do, I also like keeping her pictures to be sure they are properly backed up like I do backups.  When she takes pictures of the grandkids, I'm usually over visiting as well and take my own pictures.  So I like to keep these sets of pictures separate.   Yes, I know I could put keywords in there such as "Mom's Pictures" or "My Pictures," but I just like to keep these sets of pictures separate.  That's the way I am.  People like to organize things their own ways.
    Having said all of that, I have been using keywords ever since I started using Lightroom, version 1.  I spend a lot of time doing so.  I do like them.  But, I also like having the LR folder organized the way I do.  Right now, I have a very long list of keywords.  If I want to find a group of pictures, I'm not so sure I'd find all of the ones I'm looking for unless I select the specific keywords I am looking for, and with the list as long as it is now (and it's growing), I might miss something.  With a single catalog, it does make it easier to search for all photos with a single key word, but the folders in LR help do help me narrow down what I might be looking for.
    Lightroom provides these tools, and to me, I am taking advantage of them, including keywords, to help me organize my photos.  Once I get my current LR photos into the new folder structure, any new additions will be very easily and quickly done.

  • What code editor/environment are people using?

    Not having used LUA before, I am wondering what is recommend when it comes to writing, editing and debugging LUA scripts?
    Are people just using a basic text editor like Notepad or are there some better tools out there?

    @Sean,
    Haven't developed a web engine before so hadn't thought about that issue.
    Alternative for you - modify your new script, or write another script instead, to allow the released and development versions of a gallery to run in parallel. Either add something into the development version's galleryInfo.lrweb file and strip it out before compiling, or add something in before compiling.
    e.g. the former option would look like this
    Dev galleryInfo.lrweb file would include:
    title = "Web Sample (Dev)",
    id = "com.adobe.lightroom.wpg.templates.sdk.luawebsample.dev",
    Source for compiled galleryInfo.lrweb file would include:
    title = "Web Sample",
    id = "com.adobe.lightroom.wpg.templates.sdk.luawebsample",
    I'm guessing that would be enough to allow LR2 to distinguish between the two versions, and you to know whether you were using the released version of the one still in development. Adding a sed call to your script should easily be able to make this change for you.
    This is a bit of a kludge but should work.
    Matt

  • Are people using jdeveloper to build application to replace Oracle Form ?

    We would like to hear from customers who implemented jdeveloper solution to replace form. In terms of functionality Form was a good product. But it is time to move to something open. Did anyone successfully move their Form application to java/jsp/servlet/xml app using jdeveloper? Thanks for your time.

    I just finished my third Forms -> JDev web app conversion. FWIW, my experiences were excellent all three times. However, there are three caveats here:
    1) I was brought in on these cases specifically to develop JDev web apps based on existing Forms apps. J2EE and JDev are my background; not Forms. So the Forms-to-JDev productivity loss didn't affect me; I was used to the lower productivity associated with 3GL programming. YMMV, obviously.
    2) I used Oracle JHeadstart on two of these projects. Compared to "vanilla" JDeveloper 10.1.2, JHeadstart gave me a lot of functionality, such as multi-row edit tables and lookup-driven LOV popups, that are expected by Forms users but that were especially muddy to implement in JDev 10.1.2. I think this is significantly mitigated by changes made in JDev 10.1.3 (certainly those two particular cases are now part of standard ADF functionality), but I've only just started using that.
    3) Even with JHeadstart (and, I anticipate, even with 10.1.3), there is some "expectations adjustment" that has to be done if your user base is used to Forms. The JDeveloper web UI framework (ADF Faces, in its latest incarnation) is getting more and more "AJAX-y" and interactive, but you're still not going to fool anybody into thinking they're running a full-featured desktop application. This really isn't a criticism of JDev or ADF in any way; it's only the bleedingest edge in web apps that comes close to that kind of functionality.

  • How are people using ZFS?

    I made the switch from an mdadm controlled RAID5 to ZFS.  I am curious how others are using ZFS.  I watch Ben Rockwell's talk on ZFS[1,2] and am finding that I am not using most of the advanced features it offers.  It got me wondering how others are using it.
    My setup: 3 HDDs in a RAIDZ1 in a dedicated box.  I am not using snapshots, or other advanced features.  I literally have all 3 drives mounted to /mnt/zpool and that's it.
    How I use it: I boot up the NAS once or twice a week and run shell script that uses rsync to move over pics, videos, files, etc.
    I guess I could create a vdev under my zpool specifically for documents, and enable snapshots for just that part of the zpool.  The majority of my content is user generated images which will not change.
    1. http://www.youtube.com/watch?v=3-KesLwobps
    2. http://www.youtube.com/watch?v=jDLJJ2-ZTq8
    Last edited by graysky (2013-10-18 15:34:55)

    I use ZFS on a FreeBSD file server using 3 mirror pairs.  I decided to use mirroring instead of raidz because drives are cheap, you get better read performance, and the zpool grows easily over time when failed devices are replaced with larger ones or extending with more pairs.  I also use snapshots and ZFS send/receive for incremental backups over the network.

  • What monitors are people using w/ there Rage 128 Cards (AGP) ADC/VGA

    Need to get a new monitor and wondering if anyone is running a new LDC w/ this card?

    thx John. I got the viewsonic VA912b. What a huge screen compared to my old apple 17" studio display CRT/ADC. Just trying to get used to a LCD. All my years of computing have been staring in CRT monitors. There is alittle bit of ghosting w/ LCD but I'm sure if i was using the DVI connection instead of the VGA it would probrably be crisper. But for right now i need to replace my old monitor the cheepest way and I could figure in buying a new video card and monitor at the same time. But maybe in the future i will get a new card and put this monitor up to its full potential. But I got to say it is nice looking into a 19" screen instead of a 17". I can't believe the size difference in the two inches.
    Chris.

  • What are people using for displays?

    I just got my MacPro a couple of days ago. I'm currently surviving with a 4+ year old Dell 2001 FP monitor that can do at max 1600x1200.
    I have a MacBookPro 17 which can do 1920x1200. I'd like to at some point upgrade this older Dell monitor to something a little crisper that has a bit more resolution.
    I don't think I need a gigantic cinema type display either. I'd just like a little more resolution. I also went with ONLY the ATI Radeon HT 2600 XT.
    So what can I get which would look a little better and have a few more pixels? Recommendations?

    I use a Dell 2408WFP, which is one of the Ultrasharp models. It's good, but not great. If money was no object I would've picked an Eizo of similar dimensions. But it is very crisp and bright, so much so I set it to 0/100 brightness, and 60/100 contrast - according to the directions given by my Colormunki calibrator software. I couldn't get the Dell calibrated using my previous GretagMacbeth i1 Display (v.1), which was giving me neon colors instead of accuracy. It (i1 Display) had worked just fine with my CRTs, but not the 2408WFP.

  • SSH Clients - What are people using?

    What is everybody using for SSH clients to manage their boxes?
    Anybody having any real problems getting SSH setup?
    Thanks,
    ~ron

    Hi Ron,
    For Windows platform, Secure CRT is a good client , as well as Secure Shell Client. Sun box got SSH client build-in, it is in command line interface, quick and easy as well.
    I am using all of them SSH to our cusomter's PIX and routers many times. It is very handy and easy to use.
    For setting up SSH in a PIX , router , switch, it might only takes 5 minutes, here is the URL for that:
    http://www.cisco.com/warp/customer/707/index.shtml#ssh
    Best Regards,

  • What are people using to convert .3gp video files into something compatible with iMovie? Does Apple have SW to do this?

    I am trying to find the best and safest way to convert .3gp video from my Blackberry into a file format that iMovie will recognize.  I see lots of potential downloads, but I am hoping for some recommendations on which SW is most helpful.  Thanks.

    There is a free App called MPEG Streamclip from Squared 5. You can drag your .3gp into MPEG Streamclip. Then FILE/EXPORT TO QUICKTIME.
    For HD sizes (1280x720 or 1920x1080), choose Apple Intermediate Codec as the Video Codec.
    For smaller sizes, you can also use Apple Intermediate Codec, but h.264 will also work and will give a smaller file size.
    Then import this new file into iMovie using FILE/IMPORT MOVIES

  • I can text some people using my iPad but some people are blocked, I'm talking about the people in my contacts

    Why are some of the mumbers in my contact list blocked from texting using my iPad?

    If those people are not using an Apple device with iMessage account, then you cannot use iMessage to send to them.  On an iPad, that means you will have to use one of the 3rd party apps to send text messages to them (examples are textme or textplus).

  • I have lost my iphone 5 the day before yesterday,and have tried many ways to find it, but in vain. i wandered if there are some useful solutions to such kinds of issues, because lots of people have similar terrible experiences. many people lost their app.

    i have lost my iphone 5 the day before yesterday,and have tried many ways to find it, but in vain. i wandered if there are some useful solutions to such kinds of issues, because lots of people have similar terrible experiences. in china many people have lost ihones, which means you also expose all of your information you have saved in iphones. this is dangerous,because criminals can take advantage of those information. i think apple should talke more measures to stop the thieves from using apples so easily.

    cuz me too same case I have also I lost all my photos 800pics

  • Are people still using Safari 1.0?

    I'm trying to find out approximate usage figures for Safari 1.0. I have a CSS bug on my website that occurs in Safari 1.0 which is apparently fixed in 1.2. Mac users are important, but not that common, on my site and I'm wondering what proportion of Safari users are still using 1.0.

    It would probably be the same as the proportion of people still using Mac OS X 10.2.x, give or take due to alternative browser usage. If you could pull up statistics on Mac OS X's install base, that might give you some idea. Sorry, I know it's not very helpful.
    Yang

  • What privacy settings are most people using for Adobe Flash Player and why?

    Can anyone tell me what most people use for a  privacy setting in Adobe Flash Player. I feel as though i want to use the "block all sites" option but i don't know if that is wise. Can anyone offer advice?
    Thank you,
        TomS

    Can anyone tell me what most people use for a  privacy setting in Adobe Flash Player. I feel as though i want to use the "block all sites" option but i don't know if that is wise. Can anyone offer advice?
    Thank you,
        TomS

  • How can 2 people use itunes in the same household? we both have iphone 4 and separate id but the same itunes? pleasehelp

           how can two people use itunes in the same household? i had a iphone before so alreday had an itunes account now me and my husband have upgraded and we now both have them. he has set up a username and i have mine yet when he logs in he seems to just get my account? please help

    Decide which iPhone will be keeping the current iCloud account.  On the one that will be changing accounts, if you have any photos in photo stream that are not in your camera roll or backed up somewhere else save these to your camera roll by opening the photo stream album in the thumbnail view, tapping Edit, then tap all the photos you want to save, tap Share and tap Save to Camera Roll.  If you are syncing Notes with iCloud, you'll also have to email your notes to yourself so they can be recreated in the new account as they cannot be migrated.
    Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account.  (This will only delete the account from this phone, not from iCloud.  The phone that will be keeping the account will not be effected by this.)  When prompted about what to do with the iCloud data, be sure to select Keep On My iPhone.  Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.
    Finally, to un-merge the data you will then have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the data you don't want (such as deleting your wife's data from your account, and vice versa).

Maybe you are looking for

  • My IPHONE4S doesn't want to turn off

    I just had my iphone 4s for a week now. and I just realised that I couldn't turn the phone off. Everytime I tried to turn it off, the apple logo starts appearing and the phone is back on again. I don't get what is happening because I've tried restori

  • Date parameter used in report selection

    Post Author: calj CA Forum: Upgrading and Licensing In CR XI, is there an option to convert date/time fields to date that was under Report Options in 8.5?  In the Select Expert date/time fields display the time, and date parameters are not listed unl

  • Level Based Measure Problem

    Hi All, I have been struggling with what I think would be a common problem and I am hoping that someone can help me. I would like to create a report that shows for example the sales figure for a give region and the % that particular region represents

  • Step - "Sequence Call Name" usage

    I wrote a program that uses teststand API calls to delete specific DLL calls and replace these with a VI call, unfortunately this method does not copy step settings (preconditions etc. ) Right hand file shown in attachment. I later found that it was

  • Regarding integration services.

    Hi Frnds, I have an aurgent issue Iam new to integration services .Here i have to move the integration services objects from production to test I have to move 1)olap models 2)Metaoutline Could you let me know what is the process to move data from one