I have done this all.
I have two meshes (one index buffer and one vertex buffer for each mesh). Before rendering I optimize them. Then in each frame I have a loop with two iterations in which there is glDrawElements call. I don`t have materials, textures and others. My scene is very simple.
Note: I use JOGL.